forked from TrueCloudLab/neoneo-go
Merge pull request #2278 from nspcc-dev/config/fix-oracle
config: use http for oracle node addresses
This commit is contained in:
commit
14cb3181ab
6 changed files with 18 additions and 17 deletions
|
@ -54,10 +54,10 @@ ApplicationConfiguration:
|
|||
AllowedContentTypes:
|
||||
- application/json
|
||||
Nodes:
|
||||
- node_one:30333
|
||||
- node_two:30334
|
||||
- node_three:30335
|
||||
- node_four:30336
|
||||
- http://node_one:30333
|
||||
- http://node_two:30334
|
||||
- http://node_three:30335
|
||||
- http://node_four:30336
|
||||
RequestTimeout: 5s
|
||||
UnlockWallet:
|
||||
Path: "/wallet4.json"
|
||||
|
|
|
@ -54,10 +54,10 @@ ApplicationConfiguration:
|
|||
AllowedContentTypes:
|
||||
- application/json
|
||||
Nodes:
|
||||
- node_one:30333
|
||||
- node_two:30334
|
||||
- node_three:30335
|
||||
- node_four:30336
|
||||
- http://node_one:30333
|
||||
- http://node_two:30334
|
||||
- http://node_three:30335
|
||||
- http://node_four:30336
|
||||
RequestTimeout: 5s
|
||||
UnlockWallet:
|
||||
Path: "/wallet1.json"
|
||||
|
|
|
@ -48,7 +48,7 @@ ApplicationConfiguration:
|
|||
AllowedContentTypes:
|
||||
- application/json
|
||||
Nodes:
|
||||
- node_single:30333
|
||||
- http://node_single:30333
|
||||
RequestTimeout: 5s
|
||||
UnlockWallet:
|
||||
Path: "/wallet1_solo.json"
|
||||
|
|
|
@ -54,10 +54,10 @@ ApplicationConfiguration:
|
|||
AllowedContentTypes:
|
||||
- application/json
|
||||
Nodes:
|
||||
- node_one:30333
|
||||
- node_two:30334
|
||||
- node_three:30335
|
||||
- node_four:30336
|
||||
- http://node_one:30333
|
||||
- http://node_two:30334
|
||||
- http://node_three:30335
|
||||
- http://node_four:30336
|
||||
RequestTimeout: 5s
|
||||
UnlockWallet:
|
||||
Path: "/wallet3.json"
|
||||
|
|
|
@ -54,10 +54,10 @@ ApplicationConfiguration:
|
|||
AllowedContentTypes:
|
||||
- application/json
|
||||
Nodes:
|
||||
- node_one:30333
|
||||
- node_two:30334
|
||||
- node_three:30335
|
||||
- node_four:30336
|
||||
- http://node_one:30333
|
||||
- http://node_two:30334
|
||||
- http://node_three:30335
|
||||
- http://node_four:30336
|
||||
RequestTimeout: 5s
|
||||
UnlockWallet:
|
||||
Path: "/wallet2.json"
|
||||
|
|
|
@ -53,6 +53,7 @@ func (c *RPCClient) run() {
|
|||
RequestTimeout: c.sendTimeout,
|
||||
})
|
||||
if err != nil {
|
||||
c.log.Error("failed to create client to submit oracle response", zap.Error(err))
|
||||
continue
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue