mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-25 07:17:40 +01:00
Merge pull request #544 from TheBlueMatt/2020-03-fix-mon-ser
Fix ChannelMonitor round-trip introduced by 3d640da5c3
This commit is contained in:
commit
f2e91519d3
1 changed files with 1 additions and 1 deletions
|
@ -1024,7 +1024,7 @@ impl<ChanSigner: ChannelKeys + Writeable> ChannelMonitor<ChanSigner> {
|
|||
for ev in events.iter() {
|
||||
match *ev {
|
||||
OnchainEvent::HTLCUpdate { ref htlc_update } => {
|
||||
writer.write_all(&[1; 1])?;
|
||||
0u8.write(writer)?;
|
||||
htlc_update.0.write(writer)?;
|
||||
htlc_update.1.write(writer)?;
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue