diff --git a/pkg/core/native/native_gas.go b/pkg/core/native/native_gas.go index d5eef961c..000f365d1 100644 --- a/pkg/core/native/native_gas.go +++ b/pkg/core/native/native_gas.go @@ -87,7 +87,7 @@ func (g *GAS) OnPersist(ic *interop.Context) error { absAmount := big.NewInt(int64(tx.SystemFee + tx.NetworkFee)) g.burn(ic, tx.Sender, absAmount) } - validators, err := g.NEO.GetValidatorsInternal(ic.Chain, ic.DAO) + validators, err := g.NEO.GetNextBlockValidatorsInternal(ic.Chain, ic.DAO) if err != nil { return fmt.Errorf("cannot get block validators: %v", err) }