Skip to content

Commit

Permalink
doc line for nonce
Browse files Browse the repository at this point in the history
  • Loading branch information
insipx committed Feb 22, 2024
1 parent 5933211 commit 43ae4f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions registry/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ where
Ok(())
}

/// get the nonce for a given address from [`DIDRegistry`]
pub async fn nonce(&self, did: String) -> Result<U256, ContactOperationError<M>> {
let address = self.resolve_did_address(did)?;
let nonce = self.registry.nonce(address).await?;
Expand Down

0 comments on commit 43ae4f7

Please sign in to comment.