瀏覽代碼

natspec: fixed test to work with new queued transactions

obscuren 10 年之前
父節點
當前提交
d7bab21681
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      common/natspec/natspec_e2e_test.go

+ 1 - 1
common/natspec/natspec_e2e_test.go

@@ -220,7 +220,7 @@ func (self *testFrontend) applyTxs() {
 	block := self.ethereum.ChainManager().NewBlock(cb)
 	coinbase := self.stateDb.GetStateObject(cb)
 	coinbase.SetGasPool(big.NewInt(10000000))
-	txs := self.ethereum.TxPool().GetTransactions()
+	txs := self.ethereum.TxPool().GetQueuedTransactions()
 
 	for i := 0; i < len(txs); i++ {
 		for _, tx := range txs {