-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix channel config callback in gateway
Currently, the config update callback triggers a discovery call to get the updated channel orderers. However, this relies on the discovery service having processed the config message before the gateway. If it hasn’t, the gateway just gets the stale orderer config. This commit changes the logic so the gateway extracts the orderer endpoints directly from the config bundle. Signed-off-by: andrew-coleman <[email protected]> (cherry picked from commit 8576508)
- Loading branch information
1 parent
abf5d30
commit 654a02b
Showing
3 changed files
with
23 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters