Fix: Drop anvil stdout (#1759)
This commit is contained in:
parent
b2fc9fdf50
commit
f3a5a7aef0
|
@ -250,7 +250,7 @@ impl Anvil {
|
|||
|
||||
let mut child = cmd.spawn().expect("couldnt start anvil");
|
||||
|
||||
let stdout = child.stdout.expect("Unable to get stdout for anvil child process");
|
||||
let stdout = child.stdout.take().expect("Unable to get stdout for anvil child process");
|
||||
|
||||
let start = Instant::now();
|
||||
let mut reader = BufReader::new(stdout);
|
||||
|
@ -284,8 +284,6 @@ impl Anvil {
|
|||
}
|
||||
}
|
||||
|
||||
child.stdout = Some(reader.into_inner());
|
||||
|
||||
AnvilInstance { pid: child, private_keys, addresses, port, chain_id: self.chain_id }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue