Skip to content

Commit

Permalink
Update Params
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarnet committed Mar 29, 2018
1 parent 04455b6 commit 8608b5a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions BRPeerManager.c
Original file line number Diff line number Diff line change
Expand Up @@ -1464,10 +1464,9 @@ BRPeerManager *BRPeerManagerNew(/*const BRChainParams *params, */BRWallet *walle
assert(wallet != NULL);
assert(blocks != NULL || blocksCount == 0);
assert(peers != NULL || peersCount == 0);
manager->params = &BRMainNetParams;
#if BITCOIN_TESTNET
manager->params = &BRTestNetParams;
#else
manager->params = &BRMainNetParams;
#endif
manager->wallet = wallet;
manager->earliestKeyTime = earliestKeyTime;
Expand Down

0 comments on commit 8608b5a

Please sign in to comment.