Skip to content

Commit

Permalink
updated tx structure of cosmos. updated kava-5 to kava-6
Browse files Browse the repository at this point in the history
  • Loading branch information
Booyoun-Kim committed Mar 5, 2021
1 parent 666221c commit 061b437
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ cosmos.getAccounts(address).then(data => {
chain_id: chainId,
fee: { amount: [ { amount: String(5000), denom: "uatom" } ], gas: String(200000) },
memo: "",
account_number: String(data.result.value.account_number),
sequence: String(data.result.value.sequence)
account_number: String(data.account.account_number),
sequence: String(data.account.sequence)
});

console.log(stdSignMsg.json); // txJson
Expand Down
2 changes: 1 addition & 1 deletion www/js/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
chainId2 = "irishub-1";
break;
case "kava":
chainId2 = "kava-5";
chainId2 = "kava-6";
break;
case "band":
chainId2 = "band-guanyu-mainnet";
Expand Down

0 comments on commit 061b437

Please sign in to comment.