Skip to content

Commit

Permalink
update setclaim
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisCarriere committed Aug 12, 2023
1 parent c14035f commit 6f6f364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/setclaims.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const walletPlugin = new WalletPluginPrivateKey(privateKey)
const permissionLevel = {actor: "claim.pomelo", permission: "setclaim"}

function setclaim(grant_id: string, claim: string ): AnyAction {
const symbol = Asset.from(claim).symbol.toString();
const symbol = Asset.from(claim).symbol.code.toString();
const contract = symbol === "TLOS" ? "ibc.wt.tlos" : "eosio.token";
return {
account: "claim.pomelo",
Expand Down

0 comments on commit 6f6f364

Please sign in to comment.