TestValidator now implements Drop, no need to close() it
This commit is contained in:
committed by
mergify[bot]
parent
0a9ff1dc9d
commit
bbad3fe501
@ -206,6 +206,7 @@ fn main() {
|
||||
TestValidator::start(
|
||||
&ledger_path,
|
||||
TestValidatorStartConfig {
|
||||
preserve_ledger: true,
|
||||
rpc_config: JsonRpcConfig {
|
||||
enable_validator_exit: true,
|
||||
enable_rpc_transaction_history: true,
|
||||
|
@ -1740,6 +1740,6 @@ pub fn main() {
|
||||
});
|
||||
}
|
||||
info!("Validator initialized");
|
||||
validator.join().expect("validator exit");
|
||||
validator.join();
|
||||
info!("Validator exiting..");
|
||||
}
|
||||
|
Reference in New Issue
Block a user