mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
Fix a couple of errors
- Mark variable only used in asserts as [[maybe_unused]]. - Restore commented out line that I think I resolved wrong in an earlier merge to fix Vault tests.
This commit is contained in:
@@ -148,7 +148,7 @@ VaultWithdraw::preclaim(PreclaimContext const& ctx)
|
||||
}
|
||||
// The destination account must have consented to receive the asset by
|
||||
// creating a RippleState or MPToken
|
||||
// authType = AuthType::StrongAuth;
|
||||
authType = AuthType::StrongAuth;
|
||||
}
|
||||
|
||||
// Destination MPToken (for an MPT) or trust line (for an IOU) must exist
|
||||
|
||||
@@ -1133,6 +1133,7 @@ createPseudoAccount(
|
||||
uint256 const& pseudoOwnerKey,
|
||||
SField const& ownerField)
|
||||
{
|
||||
[[maybe_unused]]
|
||||
auto const& fields = getPseudoAccountFields();
|
||||
XRPL_ASSERT(
|
||||
std::count_if(
|
||||
|
||||
Reference in New Issue
Block a user