signInput method
Implementation
void signInput(int index, SignerCallback signer) {
final inputSection = _getInputSection(index);
final hashType = _getInputSighashType(inputSection) ?? defaultHashType;
final tx = _buildUnsignedTx();
final witnessUtxo = _findInputKv(
inputSection, PsbtInputEntry.witnessUtxo.keyType);
final digest = _computeDigest(tx, index, hashType, inputSection, witnessUtxo);
final sig = signer(tx, index, digest, hashType);
_storePartialSig(index, sig, hashType);
}