projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Drop `ChannelMonitorUpdate::UpdateFailed` as its now unused
[rust-lightning]
/
lightning-persister
/
src
/
fs_store.rs
diff --git
a/lightning-persister/src/fs_store.rs
b/lightning-persister/src/fs_store.rs
index 81f9709c45467d4e6725ef83f11ba10a33734b68..6725e16974b8f3dd1b781af12e819e95db2931cc 100644
(file)
--- a/
lightning-persister/src/fs_store.rs
+++ b/
lightning-persister/src/fs_store.rs
@@
-436,7
+436,7
@@
mod tests {
}
// Test that if the store's path to channel data is read-only, writing a
}
// Test that if the store's path to channel data is read-only, writing a
- // monitor to it results in the store returning a
PermanentFailure
.
+ // monitor to it results in the store returning a
n InProgress
.
// Windows ignores the read-only flag for folders, so this test is Unix-only.
#[cfg(not(target_os = "windows"))]
#[test]
// Windows ignores the read-only flag for folders, so this test is Unix-only.
#[cfg(not(target_os = "windows"))]
#[test]
@@
-470,7
+470,7
@@
mod tests {
index: 0
};
match store.persist_new_channel(test_txo, &added_monitors[0].1, update_id.2) {
index: 0
};
match store.persist_new_channel(test_txo, &added_monitors[0].1, update_id.2) {
- ChannelMonitorUpdateStatus::
PermanentFailure
=> {},
+ ChannelMonitorUpdateStatus::
InProgress
=> {},
_ => panic!("unexpected result from persisting new channel")
}
_ => panic!("unexpected result from persisting new channel")
}
@@
-507,7
+507,7
@@
mod tests {
index: 0
};
match store.persist_new_channel(test_txo, &added_monitors[0].1, update_id.2) {
index: 0
};
match store.persist_new_channel(test_txo, &added_monitors[0].1, update_id.2) {
- ChannelMonitorUpdateStatus::
PermanentFailure
=> {},
+ ChannelMonitorUpdateStatus::
InProgress
=> {},
_ => panic!("unexpected result from persisting new channel")
}
_ => panic!("unexpected result from persisting new channel")
}