SigHashType.none constructor

const SigHashType.none({
  1. bool anyOneCanPay = false,
})

Sign no outputs. If anyOneCanPay is true, then only the input containing the signature will be signed.

Implementation

const SigHashType.none({ bool anyOneCanPay = false })
  : value = noneValue | (anyOneCanPay ? anyOneCanPayFlag : 0);