fee estimate: kilobyte

This commit is contained in:
ThomasV 2014-09-14 21:58:13 +02:00
parent c42038a891
commit 8d396997dc
1 changed files with 1 additions and 1 deletions

View File

@ -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