mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-05 03:58:23 +00:00
d5df1212c2
It will be important for proper subscription testing and it doesn't hurt even though technically we've got two http servers listening after this change (one is a regular Server's http.Server and one is httptest's Server). Reusing rpc.Server would be nice, but it requires some changes to Start sequence to start Listener with net.Listen and then communicate back its resulting Addr. It's not very convenient especially given that no other code needs it, so doing these changes just for a bit cleaner testing seems like and overkill. Update config appropriately. Update Start comment along the way. |
||
---|---|---|
.. | ||
protocol.mainnet.yml | ||
protocol.privnet.docker.four.yml | ||
protocol.privnet.docker.one.yml | ||
protocol.privnet.docker.single.yml | ||
protocol.privnet.docker.three.yml | ||
protocol.privnet.docker.two.yml | ||
protocol.privnet.yml | ||
protocol.testnet.yml | ||
protocol.unit_testnet.yml |