mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-05 03:58:23 +00:00
core: add proper asset issuer for UTXO assets
It just wasn't set which is wrong (AFmseVrdL9f9oyCzZefL9tG6UbvhPbdYzM was always the issuer).
This commit is contained in:
parent
89fb02a7f8
commit
9571ecffac
1 changed files with 1 additions and 0 deletions
|
@ -688,6 +688,7 @@ func (bc *Blockchain) storeBlock(block *block.Block) error {
|
||||||
Precision: t.Precision,
|
Precision: t.Precision,
|
||||||
Owner: t.Owner,
|
Owner: t.Owner,
|
||||||
Admin: t.Admin,
|
Admin: t.Admin,
|
||||||
|
Issuer: t.Admin,
|
||||||
Expiration: bc.BlockHeight() + registeredAssetLifetime,
|
Expiration: bc.BlockHeight() + registeredAssetLifetime,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue