Skip to content

Commit 62ec937

Browse files
committed
Clean metadata in add command
1 parent 8d0fcba commit 62ec937

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/commands/metadata/add.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ export default class MetadataAdd extends Command {
3838
})
3939

4040
token.symbol = token.symbol.toUpperCase()
41+
token.chainId = chainId
42+
token.decimals = Number(token.decimals)
43+
token.address = token.address.toLowerCase()
4144

4245
let metadata = {
4346
byAddress: {},

0 commit comments

Comments
 (0)