SatSale

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

commit 4120f6292a176eec5a998e71db14edb190a83d74
parent 416d04f7873c85288e87337c6ab2c3a0d4f49c2a
Author: NicholasFarrow <nicholas.w.farrow@gmail.com>
Date:   Sun, 27 Dec 2020 14:01:52 +1100

remove hardcoded address

Diffstat:
Mpay/bitcoind.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pay/bitcoind.py b/pay/bitcoind.py @@ -27,7 +27,7 @@ class btcd(invoice): raise Exception("Could not connect to bitcoind. Check your RPC / port tunneling settings and try again.") def check_payment(self): - self.address = "bc1qwxlwghumfmhwdc2deyn7h42syp2t496penax2y" + self.address = self.get_address() transactions = self.rpc.listtransactions() relevant_txs = [tx for tx in transactions if tx['address'] == self.address]