Skip to content
This repository has been archived by the owner on Jan 12, 2022. It is now read-only.

Commit

Permalink
fix: rebase issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Werner committed Feb 18, 2021
1 parent 0e6a64e commit 83e2dd1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/types/Storage/Storage.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ describe('Storage - constructor', function suite() {
it('should work on usage', async () => {
const storage = new Storage();
await storage.prepare();
await storage.createChain(Dashcore.Networks.testnet);

const defaultWalletId = 'squawk7700';
const expectedStore1 = {
Expand Down
2 changes: 1 addition & 1 deletion src/types/Storage/methods/rehydrateState.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const rehydrateState = async function rehydrateState() {
const wallets = (this.adapter && this.adapter.getItem)
? (await this.adapter.getItem('wallets') || this.store.wallets)
: this.store.wallets;
const instantLocks = (this.adapter && hasProp(this.adapter, 'getItem'))
const instantLocks = (this.adapter && this.adapter.getItem)
? (await this.adapter.getItem('instantLocks') || this.store.instantLocks)
: this.store.instantLocks;

Expand Down

0 comments on commit 83e2dd1

Please sign in to comment.