Skip to content

Commit

Permalink
fix keyset counter init (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
callebtc authored Sep 1, 2024
1 parent 463ac2f commit 5a91229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stores/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export const useWalletStore = defineStore("wallet", {
return keysetCounter.counter;
} else {
this.keysetCounters.push({ id, counter: 1 });
return 0;
return 1;
}
},
increaseKeysetCounter: function (id: string, by: number) {
Expand Down

0 comments on commit 5a91229

Please sign in to comment.