mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-25 07:05:44 +00:00
Make type explicit (#217)
This commit is contained in:
@@ -87,7 +87,7 @@ where
|
|||||||
|
|
||||||
/// Increment the nonce.
|
/// Increment the nonce.
|
||||||
pub fn increment_nonce(&mut self) {
|
pub fn increment_nonce(&mut self) {
|
||||||
self.nonce = self.nonce.map(|nonce| nonce + 1.into());
|
self.nonce = self.nonce.map(|nonce| nonce + 1u32.into());
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns the signer.
|
/// Returns the signer.
|
||||||
|
|||||||
Reference in New Issue
Block a user