Skip to content

Commit cd48372

Browse files
committed
fix serialization of rgb amount in htlc output
1 parent 07bf9b0 commit cd48372

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lightning/src/chain/channelmonitor.rs

+1
Original file line numberDiff line numberDiff line change
@@ -942,6 +942,7 @@ impl<Signer: WriteableEcdsaChannelSigner> Writeable for ChannelMonitorImpl<Signe
942942
writer.write_all(&$htlc_output.cltv_expiry.to_be_bytes())?;
943943
writer.write_all(&$htlc_output.payment_hash.0[..])?;
944944
$htlc_output.transaction_output_index.write(writer)?;
945+
writer.write_all(&$htlc_output.amount_rgb.to_be_bytes())?;
945946
}
946947
}
947948

0 commit comments

Comments
 (0)