commit 4f9a62631b3a5314e2738f9813de57963f3141b1
parent 182d95d007b5f503e5e83c86314e9a1067bb929f
Author: NicholasFarrow <nicholas.w.farrow@gmail.com>
Date: Mon, 8 Mar 2021 11:18:49 +1100
getinfo only called on initial test connection upon startup
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/server.py b/server.py
@@ -211,9 +211,9 @@ def process_payment(payment):
# Test Bitcoind connection on startup:
print("Checking node connectivity...")
if config.pay_method == "bitcoind":
- bitcoind.btcd(1, "USD", "Init test.")
+ bitcoind.btcd(1, "USD", "Init test.", test=True)
elif config.pay_method == "lnd":
- lnd.lnd(1, "USD", "Init test")
+ lnd.lnd(1, "USD", "Init test", test=True))
print("Connection successful.")