You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
log_trace!(self.logger,"Failing new HTLC with payment_hash {} as we already had an existing keysend HTLC with the same payment hash", log_bytes!(payment_hash.0));
2815
+
fail_htlc!(claimable_htlc);
2816
+
continue
2817
+
}
2818
+
}
2819
+
htlcs.push(claimable_htlc);
2820
+
for htlc in htlcs.iter(){
2821
+
total_value += htlc.value;
2822
+
match&htlc.onion_payload {
2823
+
OnionPayload::Invoice(htlc_payment_data) => {
2824
+
if htlc_payment_data.total_msat != $payment_data_total_msat {
2825
+
log_trace!(self.logger,"Failing HTLCs with payment_hash {} as the HTLCs had inconsistent total values (eg {} and {})",
log_trace!(self.logger,"Failing new HTLC with payment_hash {} as we already had an existing keysend HTLC with the same payment hash", log_bytes!(payment_hash.0));
2862
-
fail_htlc!(claimable_htlc);
2863
-
continue
2864
-
}
2865
-
}
2866
-
htlcs.push(claimable_htlc);
2867
-
for htlc in htlcs.iter(){
2868
-
total_value += htlc.value;
2869
-
match&htlc.onion_payload{
2870
-
OnionPayload::Invoice(htlc_payment_data) => {
2871
-
if htlc_payment_data.total_msat != payment_data.total_msat{
2872
-
log_trace!(self.logger,"Failing HTLCs with payment_hash {} as the HTLCs had inconsistent total values (eg {} and {})",
0 commit comments