[#825] morph/event: Fix commentary
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
f0beb4abc9
commit
5d791a4366
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ func BytesFromOpcode(op Op) ([]byte, error) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// IntFromOpcode tries to retrieve bytes from Op.
|
// IntFromOpcode tries to retrieve int from Op.
|
||||||
func IntFromOpcode(op Op) (int64, error) {
|
func IntFromOpcode(op Op) (int64, error) {
|
||||||
switch code := op.Code(); {
|
switch code := op.Code(); {
|
||||||
case code == opcode.PUSHM1:
|
case code == opcode.PUSHM1:
|
||||||
|
|
Loading…
Reference in a new issue