commit 48cbf30bd3b5213fdd917f22ef4583fc8e7f7709
parent ab16377d1e065730f03fa2763a1759bbc7537a72
Author: NicholasFarrow <nicholas.w.farrow@gmail.com>
Date: Fri, 15 Jan 2021 13:41:30 +1100
bug fix
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/pay/bitcoind.py b/pay/bitcoind.py
@@ -1,7 +1,9 @@
import config
import subprocess
+import time
from invoice.payment_invoice import invoice
+
class btcd(invoice):
def __init__(self, dollar_value, currency, label):
super().__init__(dollar_value, currency, label)
@@ -17,6 +19,7 @@ class btcd(invoice):
try:
self.rpc = AuthServiceProxy(connection_str)
info = self.rpc.getblockchaininfo()
+ print(info)
print("Successfully contacted bitcoind.")
break