Skip to content

Commit c28cce2

Browse files
committed
Log how much we got when rejecting Anchor channels due to reserves
.. as this is useful information.
1 parent 55e6bae commit c28cce2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/event.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1123,8 +1123,10 @@ where
11231123
if spendable_amount_sats < required_amount_sats {
11241124
log_error!(
11251125
self.logger,
1126-
"Rejecting inbound Anchor channel from peer {} due to insufficient available on-chain reserves.",
1126+
"Rejecting inbound Anchor channel from peer {} due to insufficient available on-chain reserves. Available: {}/{}sats",
11271127
counterparty_node_id,
1128+
spendable_amount_sats,
1129+
required_amount_sats,
11281130
);
11291131
self.channel_manager
11301132
.force_close_without_broadcasting_txn(

0 commit comments

Comments
 (0)