Skip to content

Commit

Permalink
Added an ignore for non-address inputs in tx-signing, instead of a fail
Browse files Browse the repository at this point in the history
  • Loading branch information
vsubhuman committed Nov 25, 2021
1 parent 425959f commit 9e6e006
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -1180,7 +1180,10 @@ export function signTransaction(
continue;
}
if (keyHash === undefined) {
throw new Error(`${nameof(signTransaction)} cannot sign script inputs`);
// Ignoring inputs with no key-hash for now
// <TODO:SCRIPT_INPUTS>
continue;
// throw new Error(`${nameof(signTransaction)} cannot sign script inputs`);
}
{
const keyHex = Buffer.from(keyHash.to_bytes()).toString('hex');
Expand Down

0 comments on commit 9e6e006

Please sign in to comment.