Skip to content

Commit 0d7b77b

Browse files
authored
Merge pull request #2 from initia-labs/fix/coin-amount
fix: coin amount
2 parents 1c22f75 + bd97534 commit 0d7b77b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@initia/amino-converter",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"main": "dist/index.js",
55
"scripts": {
66
"build": "tsc --module commonjs",

src/cosmos/base/v1beta1/coin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ export const Coin = {
1212
}),
1313
fromAmino: (coin: CoinAmino): Coin_pb => ({
1414
denom: coin.denom,
15-
amount: coin.denom,
15+
amount: coin.amount,
1616
}),
1717
}

0 commit comments

Comments
 (0)