diff --git a/pkg/core/blockchain.go b/pkg/core/blockchain.go index f47627bc7..9eae5dd4e 100644 --- a/pkg/core/blockchain.go +++ b/pkg/core/blockchain.go @@ -1143,7 +1143,7 @@ func (bc *Blockchain) UnsubscribeFromExecutions(ch chan<- *state.AppExecResult) // CalculateClaimable calculates the amount of GAS generated by owning specified // amount of NEO between specified blocks. func (bc *Blockchain) CalculateClaimable(value *big.Int, startHeight, endHeight uint32) *big.Int { - ic := bc.newInteropContext(trigger.System, bc.dao, nil, nil) + ic := bc.newInteropContext(trigger.Application, bc.dao, nil, nil) res, _ := bc.contracts.NEO.CalculateBonus(ic, value, startHeight, endHeight) return res }