Browse Source

Merge JoinMarket-Org/joinmarket-clientserver#1206: ob-watcher.py: Output script instead of address in /orderbook.json

9594238886 Output script instead of address in /orderbook.json (Kristaps Kaupe)

Pull request description:

  Fixes #1193.

Top commit has no ACKs.

Tree-SHA512: 866e76ef1ab7e9a99a6feb9133ba347f356b14e06113898038a6c7afb146428e12cd529347e690276f8742beef0e5f0f0f0771f9cb3c7a56dd0dafa392de6e74
master
Kristaps Kaupe 4 years ago
parent
commit
387891d1c9
No known key found for this signature in database
GPG Key ID: 33E472FE870C7E5D
  1. 2
      scripts/obwatch/ob-watcher.py

2
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),

Loading…
Cancel
Save