Skip to content

Commit

Permalink
Merge pull request #46 from flashbots/touchups-nov-2024
Browse files Browse the repository at this point in the history
fix bad code in readme
  • Loading branch information
zeroXbrock authored Nov 15, 2024
2 parents bbd7e5a + ab5162c commit 5c940c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
cfg,
db.to_owned().into(),
"http://localhost:8545".parse::<_>()?,
None,
RandSeed::new(),
&[
"0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80",
Expand All @@ -87,7 +88,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
scenario.run_setup().await?;
}

let spammer = BlockwiseSpammer::new(scenario, NilCallback);
let mut spammer = BlockwiseSpammer::new(scenario, NilCallback).await;
spammer.spam_rpc(20, 10, None).await?;

Ok(())
Expand Down

0 comments on commit 5c940c0

Please sign in to comment.