Skip to content

txscript: remove obsolete requireMinimal comment#3004

Merged
davecgh merged 1 commit intodecred:masterfrom
chappjc:require-minimal-rm
Sep 29, 2022
Merged

txscript: remove obsolete requireMinimal comment#3004
davecgh merged 1 commit intodecred:masterfrom
chappjc:require-minimal-rm

Conversation

@chappjc
Copy link
Copy Markdown
Member

@chappjc chappjc commented Sep 29, 2022

The requireMinimal flag for MakeScriptNum was removed in 84b65d0 but the description was left in the comment for MakeScriptNum. This removes that part of the docs.

Comment thread txscript/scriptnum.go
The requireMinimal flag for MakeScriptNum was removed in
84b65d0 but the description was left
in the comment for MakeScriptNum.  This removes that part of the docs.

Also expand on range error and fix code reference. In
d8306ee, the error for out-of-range
changed from ErrNumberTooBig to ErrNumOutOfRange.
@davecgh davecgh added this to the 1.8.0 milestone Sep 29, 2022
@davecgh davecgh merged commit 32b3ad1 into decred:master Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants