From 018ac4c83e6e1b535c82271b1019182895899e49 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Tue, 5 Nov 2019 11:50:03 +1100 Subject: No need to reset Tx before putting it in the Pool --- tx.go | 1 - 1 file changed, 1 deletion(-) diff --git a/tx.go b/tx.go index 4b6edf8..30100bf 100644 --- a/tx.go +++ b/tx.go @@ -103,7 +103,6 @@ func (tx *Tx) reset() { } func (tx *Tx) recycle() { - tx.reset() txPool.Put(tx) } -- cgit v1.2.3