cli/server: update value conversion for Neo 3

Version is no longer being stored for the value, so there is no need for '00'
byte.
This commit is contained in:
Roman Khimov 2020-06-23 12:25:47 +03:00
parent fb18eda515
commit 66df805f3b

View file

@ -81,7 +81,7 @@ func batchToMap(index uint32, batch *storage.MemBatch) blockDump {
ops = append(ops, storageOp{ ops = append(ops, storageOp{
State: op, State: op,
Key: hex.EncodeToString(key), Key: hex.EncodeToString(key),
Value: "00" + hex.EncodeToString(batch.Put[i].Value), Value: hex.EncodeToString(batch.Put[i].Value),
}) })
} }