Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rbndg committed Sep 19, 2024
1 parent dfdf5ba commit 7c5e5c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

'use strict'

const WalletStoreMemory = require('./src/wallet-store-memory.js')
const WalletStore = require('./src/wallet-store.js')
const WalletStoreHyperbee = require('./src/wallet-store-hyperbee.js')
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"url": "https://github.com/tetherto/lib-wallet-store.git"
},
"author": "rbndg (@rbndg)",
"license": "MIT",
"license": "APACHE-2.0",
"bugs": {
"url": "https://github.com/tetherto/lib-wallet-store/issues"
},
Expand Down
2 changes: 1 addition & 1 deletion src/wallet-store-hyperbee.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class WalletStoreHyperbee extends WalletStore {
}

async put (key, val, opts) {
if (!this.ready) throw new Error('store not read')
if (!this.ready) throw new Error('store not ready')
if (!this.db.writable) return
let res = val
if (typeof val === 'object') {
Expand Down

0 comments on commit 7c5e5c7

Please sign in to comment.