Skip to content

Commit 7d232fc

Browse files
committed
fix Make splice_init_checks() not mut
1 parent 6f8dbbd commit 7d232fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/channel.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9090,7 +9090,7 @@ impl<SP: Deref> FundedChannel<SP> where
90909090

90919091
/// Checks during handling splice_init
90929092
#[cfg(splicing)]
9093-
pub fn splice_init_checks(&mut self, msg: &msgs::SpliceInit) -> Result<(), ChannelError> {
9093+
pub fn splice_init_checks(&self, msg: &msgs::SpliceInit) -> Result<(), ChannelError> {
90949094
let their_funding_contribution_satoshis = msg.funding_contribution_satoshis;
90959095
// TODO(splicing): Currently not possible to contribute on the splicing-acceptor side
90969096
let our_funding_contribution_satoshis = 0i64;

0 commit comments

Comments
 (0)