Browse Source

Merge JoinMarket-Org/joinmarket-clientserver#1663: Payjoin: log full proposed PSBT from sender if it fails sanity checks

0a225c1178 Payjoin: log full proposed PSBT from sender if it fails sanity checks (Kristaps Kaupe)

Pull request description:

  It's useful when debugging receiving payjoins from other wallets.

Top commit has no ACKs.

Tree-SHA512: db14d79ec6ed29b0da88717089541dabd13dde4623bcec71c16f3cfc60f321d46c5288d14a56e0134e887b67a3278ce528c873c56dc5c716e1c27b83fe0d339f
master
Kristaps Kaupe 2 years ago
parent
commit
f087298676
No known key found for this signature in database
GPG Key ID: 33E472FE870C7E5D
  1. 2
      src/jmclient/payjoin.py

2
src/jmclient/payjoin.py

@ -120,6 +120,8 @@ class JMPayjoinManager(object):
success, msg = self.sanity_check_initial_payment()
if not success:
log.error(msg)
log.debug(btc.human_readable_transaction(
self.initial_psbt.extract_transaction()))
assert False, msg
self.pj_state = self.JM_PJ_PAYMENT_CREATED

Loading…
Cancel
Save