File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/main/scala/io/iohk/ethereum/faucet Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ object Faucet extends Logger {
18
18
def main (args : Array [String ]): Unit = {
19
19
val config = FaucetConfig (ConfigFactory .load())
20
20
21
- val rpcClient = new RpcClient (config.rpcAddress)
22
- val keyStore = new KeyStoreImpl (config.keyStoreDir, new SecureRandom ())
23
- val api = new FaucetApi (rpcClient, keyStore, config)
24
-
25
21
implicit val system = ActorSystem (" Faucet-system" )
26
22
implicit val materializer = ActorMaterializer ()
27
23
24
+ val keyStore = new KeyStoreImpl (config.keyStoreDir, new SecureRandom ())
25
+ val rpcClient = new RpcClient (config.rpcAddress)
26
+ val api = new FaucetApi (rpcClient, keyStore, config)
27
+
28
28
val bindingResultF = Http ().bindAndHandle(api.route, config.listenInterface, config.listenPort)
29
29
30
30
bindingResultF onComplete {
You can’t perform that action at this time.
0 commit comments