From 95942388865c3209c2090eaa91f226c4796d454a Mon Sep 17 00:00:00 2001 From: Kristaps Kaupe Date: Tue, 15 Mar 2022 16:03:42 +0200 Subject: [PATCH] Output script instead of address in /orderbook.json --- scripts/obwatch/ob-watcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/obwatch/ob-watcher.py b/scripts/obwatch/ob-watcher.py index adf5cc2..324f92c 100755 --- a/scripts/obwatch/ob-watcher.py +++ b/scripts/obwatch/ob-watcher.py @@ -225,7 +225,7 @@ class OrderbookPageRequestHeader(http.server.SimpleHTTPRequestHandler): "bond_value": fidelity_bond_value, "locktime": parsed_bond.locktime, "amount": bond_utxo_data["value"], - "address": bond_utxo_data["address"], + "script": bintohex(bond_utxo_data["script"]), "utxo_confirmations": bond_utxo_data["confirms"], "utxo_confirmation_timestamp": bond_outpoint_conf_time, "utxo_pub": bintohex(parsed_bond.utxo_pub),