Skip to content

Commit 32784b0

Browse files
committed
Correct test comments missed in f254c56
1 parent 4f4e84e commit 32784b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning-persister/src/fs_store.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ mod tests {
436436
}
437437

438438
// Test that if the store's path to channel data is read-only, writing a
439-
// monitor to it results in the store returning an InProgress.
439+
// monitor to it results in the store returning an UnrecoverableError.
440440
// Windows ignores the read-only flag for folders, so this test is Unix-only.
441441
#[cfg(not(target_os = "windows"))]
442442
#[test]
@@ -458,7 +458,7 @@ mod tests {
458458
let update_id = update_map.get(&added_monitors[0].0.to_channel_id()).unwrap();
459459

460460
// Set the store's directory to read-only, which should result in
461-
// returning a permanent failure when we then attempt to persist a
461+
// returning an unrecoverable failure when we then attempt to persist a
462462
// channel update.
463463
let path = &store.get_data_dir();
464464
let mut perms = fs::metadata(path).unwrap().permissions();

0 commit comments

Comments
 (0)