neoneo-go/pkg/core/mempool
Anna Shaleva 54e6bcad12 core: fix failing mempool test
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.
2020-11-12 15:05:01 +03:00
..
feer.go core: add conflicts attribute 2020-10-29 10:57:31 +03:00
mem_pool.go core: add conflicts attribute 2020-10-29 10:57:31 +03:00
mem_pool_test.go core: fix failing mempool test 2020-11-12 15:05:01 +03:00
prometheus.go mempool: remove unverified transactions pool 2020-02-06 15:45:16 +03:00