From 8467f95a2828c85ad2339eaddca32a2ee4d12634 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Thu, 6 Sep 2018 17:51:13 +0200 Subject: [PATCH] rm @profiler from Transaction.estimated_size in certain situations, estimated_size is called hundreds of times, flooding the log --- electrum/transaction.py | 1 - 1 file changed, 1 deletion(-) diff --git a/electrum/transaction.py b/electrum/transaction.py index 446a8b774..b32752f25 100644 --- a/electrum/transaction.py +++ b/electrum/transaction.py @@ -1087,7 +1087,6 @@ class Transaction: def is_final(self): return not any([x.get('sequence', 0xffffffff - 1) < 0xffffffff - 1 for x in self.inputs()]) - @profiler def estimated_size(self): """Return an estimated virtual tx size in vbytes. BIP-0141 defines 'Virtual transaction size' to be weight/4 rounded up.