core/asm: remove unused return value (#27272)

pull/27281/head
joohhnnn 2 years ago committed by GitHub
parent 7369752999
commit c2148c644d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      core/asm/compiler.go

@ -157,13 +157,12 @@ func (c *Compiler) compileLine() error {
}
// compileNumber compiles the number to bytes
func (c *Compiler) compileNumber(element token) (int, error) {
func (c *Compiler) compileNumber(element token) {
num := math.MustParseBig256(element.text).Bytes()
if len(num) == 0 {
num = []byte{0}
}
c.pushBin(num)
return len(num), nil
}
// compileElement compiles the element (push & label or both)

Loading…
Cancel
Save