Skip to content

Commit

Permalink
ref: export use_checked_nonce to public API (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
bidzyyys authored Aug 23, 2024
1 parent 901a5d7 commit fc13fca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contracts/src/utils/nonces.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ impl Nonces {
///
/// Returns an error if the `nonce` is not the next valid nonce for the
/// owner.
#[allow(dead_code)]
fn use_checked_nonce(
pub fn use_checked_nonce(
&mut self,
owner: Address,
nonce: U256,
Expand Down

0 comments on commit fc13fca

Please sign in to comment.