Disambiguate ignorable and ignorable_option
[rust-lightning] / lightning / src / chain / channelmonitor.rs
index 509ebed6fbad3a6bc597838ec01b7dcb367c33f4..ea24f8cf61d1303a5959fa8e4c6d1aa63ce49cd3 100644 (file)
@@ -460,7 +460,7 @@ impl MaybeReadable for OnchainEventEntry {
                        (1, transaction, option),
                        (2, height, required),
                        (3, block_hash, option),
-                       (4, event, ignorable),
+                       (4, event, upgradable_required),
                });
                if let Some(ev) = event {
                        Ok(Some(Self { txid, transaction, height, block_hash, event: ev }))