Skip to content

Commit fc59bc4

Browse files
committed
THROWAWAY: Add print debugging to test_splice
1 parent f2740eb commit fc59bc4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/test_splicing.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,21 @@ def test_splice(node_factory, bitcoind):
1414

1515
chan_id = l1.get_channel_id(l2)
1616

17+
print("EXPLORE-SPLICING: initial channel setup")
18+
1719
# add extra sats to pay fee
20+
print("EXPLORE-SPLICING: adding extra to pay fee")
1821
funds_result = l1.rpc.fundpsbt("109000sat", "slow", 166, excess_as_change=True)
1922

23+
print("EXPLORE-SPLICING: initing splice")
2024
result = l1.rpc.splice_init(chan_id, 100000, funds_result['psbt'])
25+
print("EXPLORE-SPLICING: updating splice")
2126
result = l1.rpc.splice_update(chan_id, result['psbt'])
27+
print("EXPLORE-SPLICING: signpsbt")
2228
result = l1.rpc.signpsbt(result['psbt'])
29+
print("EXPLORE-SPLICING: signing splice")
2330
result = l1.rpc.splice_signed(chan_id, result['signed_psbt'])
31+
print("EXPLORE-SPLICING: splice signed")
2432

2533
l2.daemon.wait_for_log(r'CHANNELD_NORMAL to CHANNELD_AWAITING_SPLICE')
2634
l1.daemon.wait_for_log(r'CHANNELD_NORMAL to CHANNELD_AWAITING_SPLICE')

0 commit comments

Comments
 (0)