neoneo-go/pkg/core/dao
Anna Shaleva 097ef2a731 core: copy storage item key in simple.GetStorageItems
Related to #1468, ported from #1475.

We should copy the key to avoid bytes substitution. Otherwise there's a
chance that at the end of dao.Store.Seek(...) execution some keys won't
be the same as the original keys found inside saveToMap function because
storage.Seek can guarantee that provided key and value are only valid
until the next `f` call.
2020-10-10 12:37:46 +03:00
..
cacheddao.go state: store the length of NEP5TransferLog in the first byte 2020-09-21 21:51:11 +03:00
cacheddao_test.go state: drop Neo 2 Account and everything related 2020-08-11 20:42:02 +03:00
dao.go core: copy storage item key in simple.GetStorageItems 2020-10-10 12:37:46 +03:00
dao_test.go dao: reuse buffers when storing blocks, txes and aers 2020-09-09 20:46:31 +03:00