natspec: fixed test to work with new queued transactions

pull/769/head
obscuren 10 years ago
parent fba40e18d9
commit d7bab21681
  1. 2
      common/natspec/natspec_e2e_test.go

@ -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…
Cancel
Save