Merge pull request #839 from cosmos/cwgoes/fix-ibc-relay

Recreate RPC client on WithNodeURI
This commit is contained in:
Christopher Goes 2018-04-11 13:49:21 +02:00 committed by GitHub
commit 885b6dc63e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ func (c CoreContext) WithTrustNode(trustNode bool) CoreContext {
func (c CoreContext) WithNodeURI(nodeURI string) CoreContext {
c.NodeURI = nodeURI
c.Client = rpcclient.NewHTTP(nodeURI, "/websocket")
return c
}