forked from TrueCloudLab/neoneo-go
Persisting more states (#71)
* added persistence of assets and spentcoins. * contract params * bumped version
This commit is contained in:
parent
7883f305e7
commit
2cdfee211a
11 changed files with 414 additions and 23 deletions
|
@ -96,10 +96,6 @@ func createGenesisBlock(cfg config.ProtocolConfiguration) (*Block, error) {
|
|||
|
||||
func governingTokenTX() *transaction.Transaction {
|
||||
admin, _ := util.Uint160FromScript([]byte{byte(vm.Opusht)})
|
||||
adminB, _ := crypto.Uint160DecodeAddress("Abf2qMs1pzQb8kYk9RuxtUb9jtRKJVuBJt")
|
||||
if !admin.Equals(adminB) {
|
||||
panic("kdjdkljfkdjfkdjf")
|
||||
}
|
||||
registerTX := &transaction.RegisterTX{
|
||||
AssetType: transaction.GoverningToken,
|
||||
Name: "[{\"lang\":\"zh-CN\",\"name\":\"小蚁股\"},{\"lang\":\"en\",\"name\":\"AntShare\"}]",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue