Commit a38938a9 authored by Ralph Pichler's avatar Ralph Pichler Committed by GitHub

better error if no backend (#775)

parent 4631362f
......@@ -175,7 +175,7 @@ func NewBee(addr string, swarmAddress swarm.Address, publicKey ecdsa.PublicKey,
chainID, err := swapBackend.ChainID(p2pCtx)
if err != nil {
return nil, err
return nil, fmt.Errorf("could not get chain id from ethereum backend: %w", err)
}
var factoryAddress common.Address
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment