The function doesn't work with tapBip32Derivation params https://github.com/cpuchain/btc-signer/blob/main/src/wallet.ts#L754C18-L754C33 Would like to know if it could be solved without iterating for the inputs