Skip to content

Commit 3313e10

Browse files
authored
Serialize rgb_payment for pending inbound and outbound HTLCs (#20)
1 parent a2f99cb commit 3313e10

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lightning/src/ln/channel.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14938,6 +14938,7 @@ where
1493814938
}
1493914939
},
1494014940
}
14941+
htlc.rgb_payment.write(writer)?;
1494114942
}
1494214943

1494314944
// The elements of this vector will always be `Some` starting in 0.2,
@@ -14987,6 +14988,7 @@ where
1498714988
reason.write(writer)?;
1498814989
},
1498914990
}
14991+
htlc.rgb_payment.write(writer)?;
1499014992
pending_outbound_skimmed_fees.push(htlc.skimmed_fee_msat);
1499114993
pending_outbound_blinding_points.push(htlc.blinding_point);
1499214994
pending_outbound_held_htlc_flags.push(htlc.hold_htlc);

0 commit comments

Comments
 (0)