WitnessSigOps is likely using the wrong sigop counting scheme, since there aren't version 1 witness programs any more.
This PR should be in line with the existing specification. It may not be safe to shortcut the v0/20byte special case, but can adjust this if it's a concern.
WitnessSigOps is likely using the wrong sigop counting scheme, since there aren't version 1 witness programs any more.
This PR should be in line with the existing specification. It may not be safe to shortcut the v0/20byte special case, but can adjust this if it's a concern.