Skip to content

Commit

Permalink
Minor fix for doc sign
Browse files Browse the repository at this point in the history
  • Loading branch information
TarekAwwad committed Jun 14, 2022
1 parent b33df2e commit 1ff7d30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/store/sign/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const actions = {
const signMeta = {
chain_id: state.app.chainId,
account_number: account_number.toString(),
sequence: sequence.toString(),
sequence: sequence.toString() || "0",
};

// Decrypt privateKey
Expand Down
2 changes: 1 addition & 1 deletion app/src/views/wallet/sign/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ export default {
} else {
res = response.data.result.value;
}
sequence_ = res.sequence;
sequence_ = res.sequence || "0";
account_number_ = res.account_number;
}
Expand Down

0 comments on commit 1ff7d30

Please sign in to comment.