From 9571ecffac7bbd6a4475f18ad4553a0e4efcf561 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Fri, 12 Feb 2021 00:01:00 +0300 Subject: [PATCH] core: add proper asset issuer for UTXO assets It just wasn't set which is wrong (AFmseVrdL9f9oyCzZefL9tG6UbvhPbdYzM was always the issuer). --- pkg/core/blockchain.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/core/blockchain.go b/pkg/core/blockchain.go index ec9d14f57..ee728310a 100644 --- a/pkg/core/blockchain.go +++ b/pkg/core/blockchain.go @@ -688,6 +688,7 @@ func (bc *Blockchain) storeBlock(block *block.Block) error { Precision: t.Precision, Owner: t.Owner, Admin: t.Admin, + Issuer: t.Admin, Expiration: bc.BlockHeight() + registeredAssetLifetime, }) if err != nil {