Add IsVitaFeeExempt method to FakeChain
Implement the Feer interface method required after adding Vita fee exemption functionality. FakeChain returns false for all accounts since it's a test mock. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
48a8af58df
commit
3de7f96fc7
|
|
@ -364,6 +364,11 @@ func (chain *FakeChain) GetUtilityTokenBalance(uint160 util.Uint160) *big.Int {
|
|||
panic("TODO")
|
||||
}
|
||||
|
||||
// IsVitaFeeExempt implements Feer interface.
|
||||
func (chain *FakeChain) IsVitaFeeExempt(util.Uint160) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// PoolTx implements the Blockchainer interface.
|
||||
func (chain *FakeChain) PoolTx(tx *transaction.Transaction, _ ...*mempool.Pool) error {
|
||||
txf := chain.PoolTxF.Load().(func(*transaction.Transaction) error)
|
||||
|
|
|
|||
Loading…
Reference in New Issue