diff --git a/pkg/core/blockchain.go b/pkg/core/blockchain.go index 2e9b9ce31..f4a4f4ab5 100644 --- a/pkg/core/blockchain.go +++ b/pkg/core/blockchain.go @@ -1942,6 +1942,9 @@ func (bc *Blockchain) GetScriptHashesForVerifying(t *transaction.Transaction) ([ case transaction.EnrollmentType: etx := t.Data.(*transaction.EnrollmentTX) hashes[etx.PublicKey.GetScriptHash()] = true + case transaction.RegisterType: + reg := t.Data.(*transaction.RegisterTX) + hashes[reg.Owner.GetScriptHash()] = true case transaction.StateType: stx := t.Data.(*transaction.StateTX) for _, desc := range stx.Descriptors {