Skip to content

Commit

Permalink
fixed ordering of "Testing bitcoind XXX connection" messages during s…
Browse files Browse the repository at this point in the history
…tartup
forrestv committed Oct 21, 2012
1 parent 6fccd93 commit 38cc584
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions p2pool/main.py
Original file line number Diff line number Diff line change
@@ -98,9 +98,6 @@ def check():
yield check()
temp_work = yield getwork(bitcoind)

if not args.testnet:
factory = yield connect_p2p()

bitcoind_warning_var = variable.Variable(None)
@defer.inlineCallbacks
def poll_warnings():
@@ -114,6 +111,9 @@ def poll_warnings():
print ' Current block height: %i' % (temp_work['height'] - 1,)
print

if not args.testnet:
factory = yield connect_p2p()

print 'Determining payout address...'
if args.pubkey_hash is None:
address_path = os.path.join(datadir_path, 'cached_payout_address')

0 comments on commit 38cc584

Please sign in to comment.