Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Commit

Permalink
Merge pull request #357 from raedah/develop
Browse files Browse the repository at this point in the history
yieldgen order filling fixes and dynamic txfee contributions
  • Loading branch information
AdamISZ committed Dec 16, 2015
2 parents 67043a2 + abdf16d commit e0f7c59
Show file tree
Hide file tree
Showing 3 changed files with 169 additions and 162 deletions.
3 changes: 2 additions & 1 deletion yield-generator-basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import datetime
import os
import time
import sys

from joinmarket import Maker, IRCMessageChannel
from joinmarket import BlockrInterface
Expand Down Expand Up @@ -73,7 +74,7 @@ def create_my_orders(self):
mix_balance = self.wallet.get_balance_by_mixdepth()
if len([b for m, b in mix_balance.iteritems() if b > 0]) == 0:
log.debug('do not have any coins left')
return []
sys.exit(0)

# print mix_balance
max_mix = max(mix_balance, key=mix_balance.get)
Expand Down

0 comments on commit e0f7c59

Please sign in to comment.