Skip to content

Commit

Permalink
Rename the reset method.
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmitr committed Mar 12, 2024
1 parent 6a16ed4 commit a8838d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bindings/ldk_node.udl
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ interface LDKNode {
boolean verify_signature([ByRef]sequence<u8> msg, [ByRef]string sig, [ByRef]PublicKey pkey);
boolean is_running();
[Throws=NodeError]
void reset_scorer_state();
void reset_router();
};

[Error]
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1776,7 +1776,7 @@ impl<K: KVStore + Sync + Send + 'static> Node<K> {
self.keys_manager.verify_signature(msg, sig, pkey)
}

pub fn reset_scorer_state(&self) -> Result<(), Error> {
pub fn reset_router(&self) -> Result<(), Error> {
self.kv_store
.remove(
LATEST_RGS_SYNC_TIMESTAMP_PRIMARY_NAMESPACE,
Expand Down

0 comments on commit a8838d5

Please sign in to comment.