Browse Source

Payjoin: log full proposed PSBT from sender if it fails sanity checks

master
Kristaps Kaupe 2 years ago
parent
commit
0a225c1178
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