mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-02 08:17:13 +00:00
explicitly initialize sfBalance in Payment.cpp
This commit is contained in:
@@ -383,6 +383,7 @@ Payment::doApply()
|
||||
sleDst = std::make_shared<SLE>(k);
|
||||
sleDst->setAccountID(sfAccount, dstAccountID);
|
||||
sleDst->setFieldU32(sfSequence, view().seq());
|
||||
sleDst->setFieldAmount(sfBalance, XRPAmount(beast::zero);
|
||||
|
||||
view().insert(sleDst);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user