vm: revert bool -> []byte conversion to NEO 2.x
This commit is contained in:
parent
5544ff1768
commit
4c688355bc
2 changed files with 6 additions and 2 deletions
|
@ -127,7 +127,9 @@ func (e *Element) Bytes() []byte {
|
|||
if t.value {
|
||||
return []byte{1}
|
||||
}
|
||||
return []byte{0}
|
||||
// return []byte{0}
|
||||
// FIXME revert when NEO 3.0 https://github.com/nspcc-dev/neo-go/issues/477
|
||||
return []byte{}
|
||||
default:
|
||||
panic("can't convert to []byte: " + t.String())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue