Skip to content

Commit

Permalink
update dexFundPledgeForVip
Browse files Browse the repository at this point in the history
  • Loading branch information
lovelycs committed Jun 26, 2019
1 parent 6435a8b commit bdc3524
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/client/txBlock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -511,8 +511,8 @@ export default class Tx {
}, requestType);
}

async dexFundPledgeForVip({ accountAddress, actionType, tokenId = Vite_TokenId, amount }, requestType = 'async') {
const err = checkParams({ actionType, amount }, [ 'actionType', 'amount' ]);
async dexFundPledgeForVip({ accountAddress, actionType, tokenId = Vite_TokenId }, requestType = 'async') {
const err = checkParams({ actionType }, ['actionType']);
if (err) {
return Promise.reject(err);
}
Expand All @@ -522,8 +522,7 @@ export default class Tx {
toAddress: DexFund_Addr,
abi: DexFundPledgeForVip_Abi,
params: [actionType],
tokenId,
amount
tokenId
}, requestType);
}
}
Expand Down

0 comments on commit bdc3524

Please sign in to comment.