Skip to content

Commit

Permalink
display amounts in non-matching amounts error
Browse files Browse the repository at this point in the history
  • Loading branch information
JssDWt committed Jul 12, 2024
1 parent 78f642a commit 4564d92
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/htlc_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,9 @@ where
invoice_amount_msat
} else {
return Err(anyhow!(
"non-matching amounts in invoice tlv and amount tlv"
"non-matching amounts in invoice tlv {} and amount tlv {}",
invoice_amount_msat,
tlv_amount_msat
));
}
}
Expand Down

0 comments on commit 4564d92

Please sign in to comment.