Fixed deserialization of "seller" field of limit_order_create_operation
This commit is contained in:
parent
d0629eab85
commit
a2886ea0a5
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ public class LimitOrderCreateOperation extends BaseOperation {
|
|||
JsonObject jsonObject = json.getAsJsonObject();
|
||||
|
||||
AssetAmount fee = context.deserialize(jsonObject.get(KEY_FEE), AssetAmount.class);
|
||||
UserAccount seller = context.deserialize(jsonObject.get(KEY_SELLER), UserAccount.class);
|
||||
UserAccount seller = new UserAccount(jsonObject.get(KEY_SELLER).getAsString());
|
||||
AssetAmount amountToSell = context.deserialize(jsonObject.get(KEY_AMOUNT_TO_SELL), AssetAmount.class);
|
||||
AssetAmount minToReceive = context.deserialize(jsonObject.get(KEY_MIN_TO_RECEIVE), AssetAmount.class);
|
||||
String expiration = jsonObject.get(KEY_EXPIRATION).getAsString();
|
||||
|
|
Loading…
Reference in a new issue