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:
Roman Khimov 2021-02-12 00:01:00 +03:00
parent 89fb02a7f8
commit 9571ecffac

View file

@ -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 {