neoneo-go/pkg
Anna Shaleva a6f52a7180 core: prohibit reentry to Notary withdraw
If we're withdrawing funds to contract that has onNEP17Payment method,
then it may call Notary's withdraw one more time, but the account's
state is not yet updated by this moment.

The problem is similar to https://github.com/neo-project/neo/pull/2734.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2024-03-18 17:08:32 +03:00
..
compiler compiler: add compatibility test for storage limits 2023-11-28 10:51:03 +03:00
config config: update validation with check committee 2024-01-22 10:25:23 +03:00
consensus *: regenerate all wallets with adjusted parameters 2024-03-01 19:19:03 +03:00
core core: prohibit reentry to Notary withdraw 2024-03-18 17:08:32 +03:00
crypto *: use v2 LRU, fix #3322 2024-03-05 18:39:17 +03:00
encoding *: drop go 1.18 support in doc and build targets 2023-10-12 17:59:42 +03:00
interop go.mod: upgrade minimum required Go version to 1.20 2024-03-05 13:54:10 +03:00
io *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
neorpc neorpc: add WS notification filter IsValid functionality 2023-12-28 11:08:46 +03:00
neotest neotest: reuse wallet.Account for contract signers 2023-12-21 11:27:41 +03:00
network *: add nolint comment to deprecated math/rand usages 2024-03-05 13:54:10 +03:00
rpcclient rpc: add synchronisation for httptest.Server in tests 2024-03-13 11:41:43 +03:00
services rpcsrv: properly close RPC clients in tests 2024-03-14 11:04:39 +03:00
smartcontract go.mod: upgrade minimum required Go version to 1.20 2024-03-05 13:54:10 +03:00
util *: replace slice.Copy with bytes.Clone 2024-03-05 13:54:10 +03:00
vm *: replace slice.Copy with bytes.Clone 2024-03-05 13:54:10 +03:00
wallet *: regenerate all wallets with adjusted parameters 2024-03-01 19:19:03 +03:00