Skip to content

Commit 9842c35

Browse files
committed
Persist when ChannelMangager::splice_channel is Ok
When ChannelMangager::splice_channel returns Ok, a QuiescentAction is set. Since this is persisted with a FundedChannel, an Ok result should trigger persistence.
1 parent 245bd15 commit 9842c35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4665,7 +4665,7 @@ where
46654665
);
46664666
res = result;
46674667
match res {
4668-
Ok(_) => NotifyOption::SkipPersistHandleEvents,
4668+
Ok(_) => NotifyOption::DoPersist,
46694669
Err(_) => NotifyOption::SkipPersistNoEvents,
46704670
}
46714671
});

0 commit comments

Comments
 (0)