Skip to content

Commit

Permalink
Merge pull request #43 from ixofoundation/develop
Browse files Browse the repository at this point in the history
fix: fix client sequence localstorage function
  • Loading branch information
Michael-Ixo authored Jun 22, 2023
2 parents b6808e2 + 0df8b77 commit 7516fc3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ixo/impactxclient-sdk",
"version": "1.1.8",
"version": "1.1.9",
"description": "One ixo client to rule them all, One ixo client to find, One ixo client to bring them all, and in impact bind them",
"author": "Ixo <ixo>",
"homepage": "https://github.com/ixofoundation/ixo-MultiClient-SDK#readme",
Expand Down
3 changes: 2 additions & 1 deletion src/stargate_client/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ export const getSignerData = async (
let data = storageFunctions.getLocalData(SignerStoreKey) || {};
let now = new Date();

if (!data[chainId] || !data[chainId][accountNumber]) {
if (!data[chainId]) data[chainId] = {};
if (!data[chainId][accountNumber]) {
data[chainId][accountNumber] = {
sequence: sequence,
updated: now.toISOString(),
Expand Down

0 comments on commit 7516fc3

Please sign in to comment.