Skip to content

Commit

Permalink
Merge #1663: Payjoin: log full proposed PSBT from sender if it fails …
Browse files Browse the repository at this point in the history
…sanity checks

0a225c1 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
  • Loading branch information
kristapsk committed Feb 13, 2024
2 parents 74a0b10 + 0a225c1 commit f087298
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/jmclient/payjoin.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ def set_payment_tx_and_psbt(self, in_psbt):
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

Expand Down

0 comments on commit f087298

Please sign in to comment.