Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

Commit

Permalink
fix mempool tests
Browse files Browse the repository at this point in the history
  • Loading branch information
calbera committed May 1, 2023
1 parent 86dbeed commit d0efb79
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions miner/miner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ func (bc *testBlockChain) StateAt(common.Hash) (state.StateDBI, error) {
return bc.statedb, nil
}

func (bc *testBlockChain) StateAtBlock(*types.Header) (state.StateDBI, error) {
return bc.statedb, nil
}

func (bc *testBlockChain) SubscribeChainHeadEvent(ch chan<- core.ChainHeadEvent) event.Subscription {
return bc.chainHeadFeed.Subscribe(ch)
}
Expand Down

0 comments on commit d0efb79

Please sign in to comment.