File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -962,7 +962,7 @@ pub mod run {
962
962
use slog:: info;
963
963
use subprocess:: { Popen , PopenConfig , Redirection } ;
964
964
965
- use crate :: { TestValidator , GANACHE_CONFIG } ;
965
+ use crate :: TestValidator ;
966
966
967
967
pub async fn run_sentry_app (
968
968
adapter : adapter:: ethereum:: LockedAdapter ,
@@ -996,15 +996,15 @@ pub mod run {
996
996
let logger = new_logger ( & validator. sentry_logger_prefix ) ;
997
997
let campaign_remaining = CampaignRemaining :: new ( redis. clone ( ) ) ;
998
998
999
- let platform_api = PlatformApi :: new (
1000
- config. platform . url . clone ( ) ,
1001
- config. platform . keep_alive_interval ,
1002
- )
1003
- . expect ( "Failed to build PlatformApi" ) ;
999
+ let platform_api = PlatformApi :: new (
1000
+ validator . config . platform . url . clone ( ) ,
1001
+ validator . config . platform . keep_alive_interval ,
1002
+ )
1003
+ . expect ( "Failed to build PlatformApi" ) ;
1004
1004
1005
1005
let app = Application :: new (
1006
1006
adapter,
1007
- GANACHE_CONFIG . clone ( ) ,
1007
+ validator . config . clone ( ) ,
1008
1008
logger,
1009
1009
redis. clone ( ) ,
1010
1010
postgres. clone ( ) ,
You can’t perform that action at this time.
0 commit comments