SatSale

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 73265d27738a3de9dd7f0f5e338fb471b7e834e1
parent 8eb79e8d2d9ba590ff3b819f140e54b21f6bef2d
Author: NicholasFarrow <nicholas.w.farrow@gmail.com>
Date:   Mon,  8 Mar 2021 11:24:58 +1100

getinfo only called on initial test connection upon startup

Diffstat:
Mpay/bitcoind.py | 2+-
Mpay/lnd.py | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pay/bitcoind.py b/pay/bitcoind.py @@ -4,7 +4,7 @@ from invoice.payment_invoice import invoice class btcd(invoice): - def __init__(self, dollar_value, currency, label, test): + def __init__(self, dollar_value, currency, label, test=False): super().__init__(dollar_value, currency, label, test) print(self.__dict__) # self.__dict__ = invoice.__dict__.copy() diff --git a/pay/lnd.py b/pay/lnd.py @@ -10,7 +10,7 @@ from invoice.payment_invoice import invoice class lnd(invoice): - def __init__(self, dollar_value, currency, label, test): + def __init__(self, dollar_value, currency, label, test=False): super().__init__(dollar_value, currency, label, test) print(self.__dict__)