Skip to content

Commit 36718d5

Browse files
authored
docs(core/vm): fix function name in comment for doPush (#2324)
Update the helper comment to match the doPush method name.
1 parent 1a7de2c commit 36718d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/vm/program/program.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func (p *Program) add(op byte) *Program {
5353
return p
5454
}
5555

56-
// pushBig creates a PUSHX instruction and pushes the given val.
56+
// doPush creates a PUSHX instruction and pushes the given val.
5757
// - If the val is nil, it pushes zero
5858
// - If the val is bigger than 32 bytes, it panics
5959
func (p *Program) doPush(val *uint256.Int) {

0 commit comments

Comments
 (0)