forked from TrueCloudLab/neoneo-go
config: use http for oracle nodes
Otherwise the following error occurs: ``` first path segment in URL cannot contain colon ```
This commit is contained in:
parent
b455e9338c
commit
e2ef904901
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