Skip to content

Commit

Permalink
Change fee to 0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pta2002 committed Jun 11, 2017
1 parent 7aa2c24 commit f186005
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shop/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,11 +416,11 @@ def send_to(self, address, ammount):
self.get_balance() - ammount)
errors.append('Not enough funds!')
else:
if self.get_balance() - ammount - 1 >= 0:
cm.settxfee(1)
if self.get_balance() - ammount - 0.1 >= 0:
cm.settxfee(0.1)
try:
cm.sendtoaddress(address, ammount)
self.redeemed += ammount + 1
self.redeemed += ammount + 0.1
self.save()
except JSONRPCException:
errors.append("Invalid ammount")
Expand Down

0 comments on commit f186005

Please sign in to comment.