Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
arobsn committed Oct 22, 2024
1 parent b843c57 commit a4acb24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/wallet/src/prover/prover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function buildKeyMapper(keys: ErgoHDKey[] | KeyMap) {
if (secret) return secret;
}

if (pskMap.size === 1) return pskMap.values().next().value;
if (pskMap.size === 1) return pskMap.values().next().value as ErgoHDKey;

for (const pk of pskMap.keys()) {
// try to determine the secret key from the input by checking the ErgoTree and Registers
Expand Down

0 comments on commit a4acb24

Please sign in to comment.