forked from TrueCloudLab/neoneo-go
54e6bcad12
There might be a case when identical nonces are generated for tx6, tx7 or tx8 (they are not in mempool, so each of them pass mempool-presence check). In this case test fails due to the lack of hashes into mp.conflicts map (two of tx6, tx7 or tx8 have identical hashes) with the following error: ``` === RUN TestMempoolAddRemoveConflicts --- FAIL: TestMempoolAddRemoveConflicts (0.00s) mem_pool_test.go:376: Error Trace: mem_pool_test.go:376 Error: Not equal: expected: 4 actual : 3 Test: TestMempoolAddRemoveConflicts ``` Fixed by maling the nonce non-random. |
||
---|---|---|
.. | ||
compiler | ||
config | ||
consensus | ||
core | ||
crypto | ||
encoding | ||
internal | ||
interop | ||
io | ||
network | ||
rpc | ||
smartcontract | ||
util | ||
vm | ||
wallet |