neoneo-go/pkg/core/statesync
Anna Shaleva 0aedfd0038 core: fix bug in MPT pool during Update
We need to copy the result of `TryGet` method, otherwice the slice can
be modified inside `Add` or `Update` methods, which leads to
inconsistent MPT pool state.
2021-09-07 19:43:27 +03:00
..
module.go core: clone MPT node while restoring it multiple times 2021-09-07 19:43:27 +03:00
module_test.go core: clone MPT node while restoring it multiple times 2021-09-07 19:43:27 +03:00
mptpool.go core: fix bug in MPT pool during Update 2021-09-07 19:43:27 +03:00
mptpool_test.go core: fix bug in MPT pool during Update 2021-09-07 19:43:27 +03:00