mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-16 13:06:40 +00:00
natspec: fixed test to work with new queued transactions
This commit is contained in:
parent
fba40e18d9
commit
d7bab21681
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ func (self *testFrontend) applyTxs() {
|
||||||
block := self.ethereum.ChainManager().NewBlock(cb)
|
block := self.ethereum.ChainManager().NewBlock(cb)
|
||||||
coinbase := self.stateDb.GetStateObject(cb)
|
coinbase := self.stateDb.GetStateObject(cb)
|
||||||
coinbase.SetGasPool(big.NewInt(10000000))
|
coinbase.SetGasPool(big.NewInt(10000000))
|
||||||
txs := self.ethereum.TxPool().GetTransactions()
|
txs := self.ethereum.TxPool().GetQueuedTransactions()
|
||||||
|
|
||||||
for i := 0; i < len(txs); i++ {
|
for i := 0; i < len(txs); i++ {
|
||||||
for _, tx := range txs {
|
for _, tx := range txs {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue