Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Elli610 committed Aug 10, 2023
1 parent e3657f1 commit cd892ba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
],
"dependencies": {
"@hicaru/bearby.js": "^0.4.7",
"@massalabs/web3-utils": "^1.2.0",
"@massalabs/web3-utils": "^1.3.0",
"axios": "^0.26.1",
"bignumber.js": "^9.1.1",
"bs58check": "^3.0.1",
Expand Down
7 changes: 6 additions & 1 deletion src/bearbyWallet/BearbyAccount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,12 @@ export class BearbyAccount implements IAccount {
// setup the params from Args
let params: CallParam[] = [];
try {
params = parameter.getArgsList();
params = parameter.getArgsList().map((arg) => {
return {
type: arg.type,
value: arg.value,
} as CallParam;
});
} catch (ex) {
throw new Error(
/* eslint-disable-next-line max-len */
Expand Down

0 comments on commit cd892ba

Please sign in to comment.