Skip to content

Commit

Permalink
bugfix: SubmitTransactionResponse.SubmitTransactionResponse, fetch da…
Browse files Browse the repository at this point in the history
…ta from the right position
  • Loading branch information
overcat committed May 2, 2019
1 parent 12fade0 commit 555ffcd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ public Long getOfferIdFromResult(int position) {
return null;
}

if (result.getResult().getResults()[0].getTr().getManageOfferResult().getSuccess().getOffer().getOffer() == null) {
if (result.getResult().getResults()[position].getTr().getManageOfferResult().getSuccess().getOffer().getOffer() == null) {
return null;
}

return result.getResult().getResults()[0].getTr().getManageOfferResult().getSuccess().getOffer().getOffer().getOfferID().getUint64();
return result.getResult().getResults()[position].getTr().getManageOfferResult().getSuccess().getOffer().getOffer().getOfferID().getUint64();
}

/**
Expand Down

0 comments on commit 555ffcd

Please sign in to comment.