chore: fix lint warning (#283)

This commit is contained in:
Santiago Carmuega 2023-09-07 14:39:18 +02:00 committed by GitHub
parent 384afa284b
commit 1f870cac66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 133 additions and 112 deletions

View file

@ -799,7 +799,7 @@ mod tests {
let addr = Address::from_str(original).unwrap();
match addr {
Address::Byron(_) => assert!(matches!(addr.network(), None)),
Address::Byron(_) => assert!(addr.network().is_none()),
_ => assert!(matches!(addr.network(), Some(Network::Mainnet))),
}
}