From 66df805f3b3df6ef7f0454cc03836fd88595e07d Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Tue, 23 Jun 2020 12:25:47 +0300 Subject: [PATCH] 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. --- cli/server/dump.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/server/dump.go b/cli/server/dump.go index 233684985..e6084a9ee 100644 --- a/cli/server/dump.go +++ b/cli/server/dump.go @@ -81,7 +81,7 @@ func batchToMap(index uint32, batch *storage.MemBatch) blockDump { ops = append(ops, storageOp{ State: op, Key: hex.EncodeToString(key), - Value: "00" + hex.EncodeToString(batch.Put[i].Value), + Value: hex.EncodeToString(batch.Put[i].Value), }) }