Make type explicit (#217)

This commit is contained in:
Caio
2021-01-14 13:50:16 -03:00
committed by GitHub
parent 6175cb70b9
commit c2cc7afbc1
+1 -1
View File
@@ -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.