0decb95591
In some places we panic, in some we return error, in some (audit) just return a client. However in all of the places static client is created immediately before the sugared-client creation. This commit makes all constructors to just return a client for the sake of code simplification and unification. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru> |
||
---|---|---|
.. | ||
add_peer.go | ||
config.go | ||
epoch.go | ||
innerring.go | ||
netmap.go | ||
new_epoch.go | ||
snapshot.go | ||
update_state.go | ||
wrapper.go |