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

Prevents startup spam to log. #125

Merged
merged 1 commit into from
Jul 6, 2015
Merged

Conversation

haarts
Copy link
Contributor

@haarts haarts commented Jul 4, 2015

Fixes #122 except for the testnet stuff.

@chris-belcher
Copy link
Collaborator

You can check for testnet using

from common import get_network

if get_network() == 'testnet':

@haarts
Copy link
Contributor Author

haarts commented Jul 4, 2015

Since common was already imported and I don't like to add stuff to the global namespace I did a if common.get_network() ... call.

@chris-belcher
Copy link
Collaborator

on_tx_confirmed() should also check it's not testnet

in fact it's probably cleanest to put the testnet check in log_statement()

@haarts
Copy link
Contributor Author

haarts commented Jul 4, 2015

Done.

chris-belcher added a commit that referenced this pull request Jul 6, 2015
Prevents startup spam to log.
@chris-belcher chris-belcher merged commit 1e52581 into JoinMarket-Org:master Jul 6, 2015
ghtdak pushed a commit to ghtdak/joinmarket that referenced this pull request Oct 1, 2015
ghtdak pushed a commit to ghtdak/joinmarket that referenced this pull request Oct 4, 2015
ghtdak pushed a commit to ghtdak/joinmarket that referenced this pull request Dec 4, 2015
Prevents startup spam to log.
[gitreformat yapf-ify (github/ghtdak) on Fri Dec  4 04:49:47 2015]
[from commit: 1e52581]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants