bugfix, pending transaction was resend with new gas price/limit but not removed from transaction pool
This commit is contained in:
@ -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))
|
||||
|
Reference in New Issue
Block a user