mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-23 23:25:22 +00:00
d09158161e
According to docs, `Server` uses provided error channel only to write encountered error to it. In this case, there is no need to accept rw channel to create `Server` instance. Strengthening the type to write-only will allow the caller to ensure control of reading errors from the provided channel. The change is backward compatible since any `chan` is `chan<-`. Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com> |
||
---|---|---|
.. | ||
helpers/rpcbroadcaster | ||
metrics | ||
notary | ||
oracle | ||
rpcsrv | ||
stateroot |