Skip to content

Commit

Permalink
comments feedback for function naming
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyukang committed Dec 25, 2024
1 parent 5f490d0 commit c7c79eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/fiber/channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ where
if need_commitment_signed {
self.handle_commitment_signed_command(state)?;
}
self.flush_tlc_operations(myself, state).await;
self.update_tlc_status_on_ack(myself, state).await;
Ok(())
}
FiberChannelMessage::ChannelReady(_channel_ready) => {
Expand Down Expand Up @@ -710,7 +710,7 @@ where
}
}

async fn flush_tlc_operations(
async fn update_tlc_status_on_ack(
&self,
myself: &ActorRef<ChannelActorMessage>,
state: &mut ChannelActorState,
Expand Down
1 change: 0 additions & 1 deletion src/fiber/tests/test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ pub fn mock_ecdsa_signature() -> EcdsaSignature {

pub fn generate_store() -> Store {
let temp_dir = TempDir::new("test-fnn-node");
eprintln!("Store directory: {:?}", temp_dir.as_ref());
let store = Store::new(temp_dir.as_ref());
store.expect("create store")
}
Expand Down

0 comments on commit c7c79eb

Please sign in to comment.