Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions primitives/ec/field.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ const (
// 2^(fieldBase*i) where i is the word position.
fieldBase = 26

// fieldOverflowBits is the minimum number of "overflow" bits for each
// word in the field value.
fieldOverflowBits = 32 - fieldBase //nolint:varcheck,deadcode,unused // reasons.

// fieldBaseMask is the mask for the bits in each word needed to
// represent the numeric base of each word (except the most significant
// word).
Expand Down
2 changes: 1 addition & 1 deletion script/script_chunk.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ func PushDataPrefix(data []byte) ([]byte, error) {
return b, nil
}

// DecodeStringParts takes a hex string and decodes the opcodes in it
// DecodeScriptHex takes a hex string and decodes the opcodes in it
// returning an array of opcode parts (which could be opcodes or data
// pushed to the stack).
func DecodeScriptHex(s string) ([]*ScriptChunk, error) {
Expand Down