Merge pull request #1461 from bas-vk/eth_resend

Old transaction after resend was not removed from pool
This commit is contained in:
Jeffrey Wilcke
2015-08-01 16:18:54 -07:00
4 changed files with 23 additions and 10 deletions

View File

@ -130,7 +130,7 @@ func TestRemoveTx(t *testing.T) {
t.Error("expected txs to be 1, got", len(pool.pending))
}
pool.removeTx(tx.Hash())
pool.RemoveTx(tx.Hash())
if len(pool.queue) > 0 {
t.Error("expected queue to be 0, got", len(pool.queue))