test-validator: use `JsonRpcConfig::default_for_test` for consistency
This commit is contained in:
parent
aaf657297f
commit
f7118258d6
|
@ -117,10 +117,7 @@ impl Default for TestValidatorGenesis {
|
||||||
ledger_path: Option::<PathBuf>::default(),
|
ledger_path: Option::<PathBuf>::default(),
|
||||||
tower_storage: Option::<Arc<dyn TowerStorage>>::default(),
|
tower_storage: Option::<Arc<dyn TowerStorage>>::default(),
|
||||||
rent: Rent::default(),
|
rent: Rent::default(),
|
||||||
rpc_config: JsonRpcConfig {
|
rpc_config: JsonRpcConfig::default_for_test(),
|
||||||
full_api: true,
|
|
||||||
..JsonRpcConfig::default()
|
|
||||||
},
|
|
||||||
pubsub_config: PubSubConfig::default(),
|
pubsub_config: PubSubConfig::default(),
|
||||||
rpc_ports: Option::<(u16, u16)>::default(),
|
rpc_ports: Option::<(u16, u16)>::default(),
|
||||||
warp_slot: Option::<Slot>::default(),
|
warp_slot: Option::<Slot>::default(),
|
||||||
|
|
Loading…
Reference in New Issue