forked from TrueCloudLab/neoneo-go
emit: fix Int to serialize integers in correct format
Related #605, #623.
This commit is contained in:
parent
c821e1c4c8
commit
1400ecfdde
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ func Int(w *bytes.Buffer, i int64) error {
|
|||
}
|
||||
|
||||
bInt := big.NewInt(i)
|
||||
val := util.ArrayReverse(bInt.Bytes())
|
||||
val := IntToBytes(bInt)
|
||||
return Bytes(w, val)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue