Merge pull request #2278 from nspcc-dev/config/fix-oracle

config: use http for oracle node addresses
This commit is contained in:
Roman Khimov 2021-11-26 17:31:36 +03:00 committed by GitHub
commit 14cb3181ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 18 additions and 17 deletions

View file

@ -54,10 +54,10 @@ ApplicationConfiguration:
AllowedContentTypes: AllowedContentTypes:
- application/json - application/json
Nodes: Nodes:
- node_one:30333 - http://node_one:30333
- node_two:30334 - http://node_two:30334
- node_three:30335 - http://node_three:30335
- node_four:30336 - http://node_four:30336
RequestTimeout: 5s RequestTimeout: 5s
UnlockWallet: UnlockWallet:
Path: "/wallet4.json" Path: "/wallet4.json"

View file

@ -54,10 +54,10 @@ ApplicationConfiguration:
AllowedContentTypes: AllowedContentTypes:
- application/json - application/json
Nodes: Nodes:
- node_one:30333 - http://node_one:30333
- node_two:30334 - http://node_two:30334
- node_three:30335 - http://node_three:30335
- node_four:30336 - http://node_four:30336
RequestTimeout: 5s RequestTimeout: 5s
UnlockWallet: UnlockWallet:
Path: "/wallet1.json" Path: "/wallet1.json"

View file

@ -48,7 +48,7 @@ ApplicationConfiguration:
AllowedContentTypes: AllowedContentTypes:
- application/json - application/json
Nodes: Nodes:
- node_single:30333 - http://node_single:30333
RequestTimeout: 5s RequestTimeout: 5s
UnlockWallet: UnlockWallet:
Path: "/wallet1_solo.json" Path: "/wallet1_solo.json"

View file

@ -54,10 +54,10 @@ ApplicationConfiguration:
AllowedContentTypes: AllowedContentTypes:
- application/json - application/json
Nodes: Nodes:
- node_one:30333 - http://node_one:30333
- node_two:30334 - http://node_two:30334
- node_three:30335 - http://node_three:30335
- node_four:30336 - http://node_four:30336
RequestTimeout: 5s RequestTimeout: 5s
UnlockWallet: UnlockWallet:
Path: "/wallet3.json" Path: "/wallet3.json"

View file

@ -54,10 +54,10 @@ ApplicationConfiguration:
AllowedContentTypes: AllowedContentTypes:
- application/json - application/json
Nodes: Nodes:
- node_one:30333 - http://node_one:30333
- node_two:30334 - http://node_two:30334
- node_three:30335 - http://node_three:30335
- node_four:30336 - http://node_four:30336
RequestTimeout: 5s RequestTimeout: 5s
UnlockWallet: UnlockWallet:
Path: "/wallet2.json" Path: "/wallet2.json"

View file

@ -53,6 +53,7 @@ func (c *RPCClient) run() {
RequestTimeout: c.sendTimeout, RequestTimeout: c.sendTimeout,
}) })
if err != nil { if err != nil {
c.log.Error("failed to create client to submit oracle response", zap.Error(err))
continue continue
} }
} }