mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-20 11:45:53 +00:00
style: clang-tidy auto fixes (#1730)
Fixes #1729. Please review and commit clang-tidy fixes. Co-authored-by: kuznetsss <15742918+kuznetsss@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
6b61984e0e
commit
0e25c0cabc
@@ -1135,7 +1135,7 @@ CreateMPTokenObject(std::string_view accountId, ripple::uint192 issuanceID, std:
|
||||
mptoken.setFieldH256(ripple::sfPreviousTxnID, ripple::uint256{});
|
||||
mptoken.setFieldU32(ripple::sfPreviousTxnLgrSeq, 0);
|
||||
|
||||
if (mptAmount)
|
||||
if (mptAmount != 0u)
|
||||
mptoken.setFieldU64(ripple::sfMPTAmount, mptAmount);
|
||||
|
||||
return mptoken;
|
||||
|
||||
Reference in New Issue
Block a user