This commit is contained in:
Richard Holland
2023-12-04 16:31:12 +00:00
parent 215b7e8260
commit ff6293c955

View File

@@ -222,9 +222,9 @@ Remit::doApply()
sleDstAcc->setFieldU32(sfSequence, seqno);
sleDstAcc->setFieldU32(sfOwnerCount, 0);
if (view().exists(keylet::fees()) && view().rules().enabled(featureXahauGenesis))
if (sb.exists(keylet::fees()) && sb.rules().enabled(featureXahauGenesis))
{
auto sleFees = view().peek(keylet::fees());
auto sleFees = sb.peek(keylet::fees());
uint64_t accIdx = sleFees->isFieldPresent(sfAccountCount)
? sleFees->getFieldU64(sfAccountCount)
: 0;