mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Encode issuer in STAmount. Breaking protocol and db version change.
This commit is contained in:
@@ -362,12 +362,6 @@ Transaction::pointer Transaction::setOfferCreate(
|
||||
mTransaction->setITFieldAmount(sfTakerPays, saTakerPays);
|
||||
mTransaction->setITFieldAmount(sfTakerGets, saTakerGets);
|
||||
|
||||
if (!saTakerPays.isNative())
|
||||
mTransaction->setITFieldAccount(sfPaysIssuer, saTakerPays.getIssuer());
|
||||
|
||||
if (!saTakerGets.isNative())
|
||||
mTransaction->setITFieldAccount(sfGetsIssuer, saTakerGets.getIssuer());
|
||||
|
||||
if (uExpiration)
|
||||
mTransaction->setITFieldU32(sfExpiration, uExpiration);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user