Skip to content

Commit

Permalink
more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bitSmiley committed Jul 30, 2024
1 parent 62c61fd commit 403ad80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zetaclient/chains/bitcoin/tokenizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ func (t *scriptTokenizer) Next() bool {
}

// Move the offset forward and set the opcode and data accordingly.
// 1 is the opcode size, which is just 1 byte. int(op) is the opcode value,
// it should not be mixed with the size.
t.offset += 1 + length + dataLen
t.op = op
t.data = script[:dataLen]
Expand Down

0 comments on commit 403ad80

Please sign in to comment.