signInput function

Uint8List signInput({
  1. required BIP32 bip32,
  2. required Uint8List sigHash,
})

Implementation

Uint8List signInput({
  required BIP32 bip32,
  required Uint8List sigHash,
}) {
  try {
    return bip32.sign(sigHash);
  } catch (e) {
    throw SendFailure("signing failed $e");
  }
}