Skip to content

Commit

Permalink
fix: clarify error message (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvayngrib authored Nov 19, 2024
1 parent 3829039 commit cf17c66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/keychain/module/keychain.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export class Keychain {

throwIfInvalidKeyIdentifier(keyId)
assert(typeof seedId === 'string', 'seedId must be a BIP32 key identifier in hex encoding')
assert(this.#masters[seedId], `seed "${seedId}" is not initialized`)
assert(this.#masters[seedId], `seed with id "${seedId}" is not initialized`)

throwIfInvalidMasters(this.#masters[seedId])

Expand Down

0 comments on commit cf17c66

Please sign in to comment.