Skip to content

Commit

Permalink
Merge pull request #3586 from bitshares/abitmore-patch-1
Browse files Browse the repository at this point in the history
Fix fee payers in ApplicationApi.js
  • Loading branch information
abitmore authored Oct 31, 2022
2 parents 0b6401d + 248adf1 commit 2436807
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions app/api/ApplicationApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ const ApplicationApi = {
if (!feeAsset) {
// use default fee asset selection if none given
feeAsset = accountUtils.getFinalFeeAsset(
from,
to,
"withdraw_permission_claim"
);
}
Expand Down Expand Up @@ -836,7 +836,7 @@ const ApplicationApi = {
if (!feeAsset) {
// use default fee asset selection if none given
feeAsset = accountUtils.getFinalFeeAsset(
from,
creator,
"vesting_balance_create"
);
}
Expand Down Expand Up @@ -887,7 +887,7 @@ const ApplicationApi = {

if (!feeAsset) {
// use default fee asset selection if none given
feeAsset = accountUtils.getFinalFeeAsset(from, "ticket_create");
feeAsset = accountUtils.getFinalFeeAsset(account, "ticket_create");
}

// ensure all arguments are chain objects
Expand Down Expand Up @@ -934,7 +934,7 @@ const ApplicationApi = {
if (!feeAsset) {
// use default fee asset selection if none given
feeAsset = accountUtils.getFinalFeeAsset(
from,
account,
"liquidity_pool_create"
);
}
Expand Down Expand Up @@ -985,7 +985,7 @@ const ApplicationApi = {
if (!feeAsset) {
// use default fee asset selection if none given
feeAsset = accountUtils.getFinalFeeAsset(
from,
account,
"liquidity_pool_delete"
);
}
Expand Down Expand Up @@ -1033,7 +1033,7 @@ const ApplicationApi = {
if (!feeAsset) {
// use default fee asset selection if none given
feeAsset = accountUtils.getFinalFeeAsset(
from,
account,
"liquidity_pool_deposit"
);
}
Expand Down Expand Up @@ -1089,7 +1089,7 @@ const ApplicationApi = {
if (!feeAsset) {
// use default fee asset selection if none given
feeAsset = accountUtils.getFinalFeeAsset(
from,
account,
"liquidity_pool_withdraw"
);
}
Expand Down Expand Up @@ -1142,7 +1142,7 @@ const ApplicationApi = {
if (!feeAsset) {
// use default fee asset selection if none given
feeAsset = accountUtils.getFinalFeeAsset(
from,
account,
"liquidity_pool_exchange"
);
}
Expand Down

0 comments on commit 2436807

Please sign in to comment.