mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-04 09:02:28 +00:00
vm: update bool -> []byte conversion to NEO 3
This reverts commit 4c688355bc
.
This commit is contained in:
parent
2fd26287c5
commit
5dba30a49d
2 changed files with 2 additions and 6 deletions
|
@ -341,9 +341,7 @@ func (i *BoolItem) Bytes() []byte {
|
|||
if i.value {
|
||||
return []byte{1}
|
||||
}
|
||||
// return []byte{0}
|
||||
// FIXME revert when NEO 3.0 https://github.com/nspcc-dev/neo-go/issues/477
|
||||
return []byte{}
|
||||
return []byte{0}
|
||||
}
|
||||
|
||||
// TryBytes implements StackItem interface.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue