Skip to content

Commit

Permalink
wallet-ext: fix coin field definition (#3442)
Browse files Browse the repository at this point in the history
  • Loading branch information
666lcz authored Jul 22, 2022
1 parent 03bdc30 commit b8b657f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wallet/src/ui/app/redux/slices/sui-objects/Coin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class Coin {
}

public static getID(obj: SuiMoveObject): ObjectId {
return obj.fields.id.id;
return obj.fields.info.id;
}

public static getCoinTypeFromArg(coinTypeArg: string) {
Expand Down

0 comments on commit b8b657f

Please sign in to comment.