Skip to content

Commit

Permalink
Make type explicit (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
c410-f3r authored Jan 14, 2021
1 parent 6175cb7 commit c2cc7af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extrinsic/signer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ where

/// Increment the nonce.
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.
Expand Down

0 comments on commit c2cc7af

Please sign in to comment.