diff --git a/pkg/core/blockchain.go b/pkg/core/blockchain.go index 8011a2af8..a7d8c0f5b 100644 --- a/pkg/core/blockchain.go +++ b/pkg/core/blockchain.go @@ -1580,7 +1580,7 @@ func (bc *Blockchain) GetValidators(txes ...*transaction.Transaction) ([]*keys.P for _, tx := range txes { // iterate through outputs for index, output := range tx.Outputs { - accountState, err := cache.GetAccountState(output.ScriptHash) + accountState, err := cache.GetAccountStateOrNew(output.ScriptHash) if err != nil { return nil, err }