SigHashType.single constructor
const
SigHashType.single({
- bool anyOneCanPay = false,
Sign the output at the same index as the input. If anyOneCanPay
is true,
then only the input containing the signature will be signed.
Implementation
const SigHashType.single({ bool anyOneCanPay = false })
: value = singleValue | (anyOneCanPay ? anyOneCanPayFlag : 0);