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:
Tutus Development 2025-12-20 06:53:29 +00:00
parent 48a8af58df
commit 3de7f96fc7
1 changed files with 5 additions and 0 deletions

View File

@ -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)