mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
accounts/abi/bind/backends: removed the second config check from TestNewSimulatedBackend (ref - https://github.com/ethereum/go-ethereum/pull/31097)
This commit is contained in:
parent
113dd09e13
commit
8bd8b33fcb
1 changed files with 0 additions and 4 deletions
|
|
@ -147,10 +147,6 @@ func TestNewSimulatedBackend(t *testing.T) {
|
||||||
t.Errorf("expected sim config to equal params.AllEthashProtocolChanges, got %v", sim.config)
|
t.Errorf("expected sim config to equal params.AllEthashProtocolChanges, got %v", sim.config)
|
||||||
}
|
}
|
||||||
|
|
||||||
if sim.blockchain.Config() != params.AllEthashProtocolChanges {
|
|
||||||
t.Errorf("expected sim blockchain config to equal params.AllEthashProtocolChanges, got %v", sim.config)
|
|
||||||
}
|
|
||||||
|
|
||||||
stateDB, _ := sim.blockchain.State()
|
stateDB, _ := sim.blockchain.State()
|
||||||
|
|
||||||
bal := stateDB.GetBalance(testAddr)
|
bal := stateDB.GetBalance(testAddr)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue