Skip to content

Commit 4ee2bbb

Browse files
authored
Merge pull request hyperledger#147 from kaleido-io/ws
use websocket backend for all rpc calls when it's turned on
2 parents df5b35b + 703ab58 commit 4ee2bbb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/ethereum/blocklistener.go

+1
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ func (bl *blockListener) establishBlockHeightWithRetry() error {
117117
log.L(bl.ctx).Warnf("WebSocket connection failed, blocking startup of block listener: %s", err)
118118
return true, err
119119
}
120+
bl.backend = bl.wsBackend
120121
// if we retry subscribe, we don't want to retry connect
121122
wsConnected = true
122123
}

0 commit comments

Comments
 (0)