Currently signing is supported only for derivations paths with index4=0 of the form "0/x", that is 'regular' UTXOs and not 'change' UTXOs.
The methods for signing (sign_hash_ecdsa) take one index input (signer_index), and have hardcoded index4 as 0 (see get_child_keypair). An additional signer_index4 parameter has to be added and passed through
Also check for other places where a single child index number is used.
Currently signing is supported only for derivations paths with index4=0 of the form "0/x", that is 'regular' UTXOs and not 'change' UTXOs.
The methods for signing (
sign_hash_ecdsa) take one index input (signer_index), and have hardcoded index4 as0(seeget_child_keypair). An additionalsigner_index4parameter has to be added and passed throughAlso check for other places where a single child index number is used.