Fix rustfmt and cargo vet errors.
This commit is contained in:
parent
fa42b2e838
commit
f89b3ce7d2
|
@ -346,6 +346,13 @@ user-id = 169181
|
|||
user-login = "nuttycom"
|
||||
user-name = "Kris Nuttycombe"
|
||||
|
||||
[[publisher.zip321]]
|
||||
version = "0.2.0"
|
||||
when = "2024-10-04"
|
||||
user-id = 169181
|
||||
user-login = "nuttycom"
|
||||
user-name = "Kris Nuttycombe"
|
||||
|
||||
[[audits.bytecode-alliance.wildcard-audits.bumpalo]]
|
||||
who = "Nick Fitzgerald <fitzgen@gmail.com>"
|
||||
criteria = "safe-to-deploy"
|
||||
|
|
|
@ -852,9 +852,7 @@ fn table_constants(
|
|||
ORCHARD_SHARD_HEIGHT,
|
||||
)),
|
||||
#[cfg(not(feature = "orchard"))]
|
||||
ShieldedProtocol::Orchard => {
|
||||
Err(SqliteClientError::UnsupportedPoolType(PoolType::ORCHARD))
|
||||
}
|
||||
ShieldedProtocol::Orchard => Err(SqliteClientError::UnsupportedPoolType(PoolType::ORCHARD)),
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -912,7 +910,7 @@ fn estimate_tree_size<P: consensus::Parameters>(
|
|||
#[cfg(feature = "orchard")]
|
||||
ShieldedProtocol::Orchard => last_scanned.orchard_tree_size(),
|
||||
#[cfg(not(feature = "orchard"))]
|
||||
ShieldedProtocol::Orchard => None
|
||||
ShieldedProtocol::Orchard => None,
|
||||
}
|
||||
.map(|tree_size| (last_scanned.block_height(), u64::from(tree_size)))
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue