commit 8d396997dca8d07393c468af51b9b7c2f0dc18e7
parent c42038a8913aab86b01b25874136d12ca8d1d58b
Author: ThomasV <thomasv@gitorious>
Date: Sun, 14 Sep 2014 21:58:13 +0200
fee estimate: kilobyte
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/wallet.py b/lib/wallet.py
@@ -698,7 +698,7 @@ class Abstract_Wallet(object):
def estimated_fee(self, tx):
estimated_size = len(tx.serialize(-1))/2
- fee = int(self.fee_per_kb*estimated_size/1024.)
+ fee = int(self.fee_per_kb*estimated_size/1000.)
if fee < MIN_RELAY_TX_FEE: # and tx.requires_fee(self.verifier):
fee = MIN_RELAY_TX_FEE
return fee