max_value -> MAX

This commit is contained in:
realbigsean
2024-06-13 17:42:48 -04:00
parent 5789db042d
commit 5f986f50f9
27 changed files with 82 additions and 87 deletions

View File

@@ -179,7 +179,7 @@ impl Wallet {
///
/// - If `wallet_password` is unable to decrypt `self`.
/// - If `keystore_password.is_empty()`.
/// - If `self.nextaccount == u32::max_value()`.
/// - If `self.nextaccount == u32::MAX`.
pub fn next_validator(
&mut self,
wallet_password: &[u8],