Merge pull request #839 from cosmos/cwgoes/fix-ibc-relay
Recreate RPC client on WithNodeURI
This commit is contained in:
commit
885b6dc63e
|
@ -31,6 +31,7 @@ func (c CoreContext) WithTrustNode(trustNode bool) CoreContext {
|
||||||
|
|
||||||
func (c CoreContext) WithNodeURI(nodeURI string) CoreContext {
|
func (c CoreContext) WithNodeURI(nodeURI string) CoreContext {
|
||||||
c.NodeURI = nodeURI
|
c.NodeURI = nodeURI
|
||||||
|
c.Client = rpcclient.NewHTTP(nodeURI, "/websocket")
|
||||||
return c
|
return c
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue