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:
|
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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue