More reasonable fee calculation.
This commit is contained in:
parent
0cf581b64a
commit
c30561d808
|
@ -511,8 +511,8 @@ class MiniActuator:
|
||||||
fee = 0
|
fee = 0
|
||||||
# 0.1 BTC = 10000000
|
# 0.1 BTC = 10000000
|
||||||
if amount < bitcoin(1) / 10:
|
if amount < bitcoin(1) / 10:
|
||||||
# 0.01 BTC
|
# 0.001 BTC
|
||||||
fee = bitcoin(1) / 100
|
fee = bitcoin(1) / 1000
|
||||||
|
|
||||||
try:
|
try:
|
||||||
tx = self.wallet.mktx(dest_address, amount, "", password, fee)
|
tx = self.wallet.mktx(dest_address, amount, "", password, fee)
|
||||||
|
|
Loading…
Reference in New Issue