Skip to content

Commit f2e9151

Browse files
authored
Merge pull request #544 from TheBlueMatt/2020-03-fix-mon-ser
Fix ChannelMonitor round-trip introduced by 3d640da
2 parents 4c33197 + 6fe8c12 commit f2e9151

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/channelmonitor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,7 @@ impl<ChanSigner: ChannelKeys + Writeable> ChannelMonitor<ChanSigner> {
10241024
for ev in events.iter() {
10251025
match *ev {
10261026
OnchainEvent::HTLCUpdate { ref htlc_update } => {
1027-
writer.write_all(&[1; 1])?;
1027+
0u8.write(writer)?;
10281028
htlc_update.0.write(writer)?;
10291029
htlc_update.1.write(writer)?;
10301030
},

0 commit comments

Comments
 (0)