chore: Apply commits for 2.3.0-b4 (#1725)

This commit is contained in:
Alex Kremer
2024-11-11 14:37:31 +00:00
committed by GitHub
parent 9df3e936cc
commit 8d5c588e35
2 changed files with 5 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ class Clio(ConanFile):
'protobuf/3.21.9',
'grpc/1.50.1',
'openssl/1.1.1u',
'xrpl/2.3.0-b4',
'xrpl/2.3.0-rc1',
'libbacktrace/cci.20210118'
]

View File

@@ -949,7 +949,8 @@ accountHolds(
auto const blob = backend.fetchLedgerObject(key, sequence, yield);
if (!blob) {
amount.clear({currency, issuer});
amount.setIssue(ripple::Issue(currency, issuer));
amount.clear();
return amount;
}
@@ -957,7 +958,8 @@ accountHolds(
ripple::SLE const sle{it, key};
if (zeroIfFrozen && isFrozen(backend, sequence, account, currency, issuer, yield)) {
amount.clear(ripple::Issue(currency, issuer));
amount.setIssue(ripple::Issue(currency, issuer));
amount.clear();
} else {
amount = sle.getFieldAmount(ripple::sfBalance);
if (account > issuer) {