Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Commit

Permalink
fix: add relay signer to simulation relay in broadcast middleware (#60)
Browse files Browse the repository at this point in the history
* fix: add relay signer to simulation relay in broadcast middleware

* doc: update changelog
  • Loading branch information
r0ohafza authored Nov 12, 2023
1 parent 2fa4431 commit 1c55c16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

- Fix simulation for broadcaster middleware (#58)

## [0.14.0]

### Added
Expand Down Expand Up @@ -187,6 +189,7 @@ A small patch to fix the documentation on [docs.rs](https://docs.rs).
Initial release.

<!-- next-url !-->

[Unreleased]: https://github.com/onbjerg/ethers-flashbots/compare/0.14.0...HEAD
[0.14.0]: https://github.com/onbjerg/ethers-flashbots/compare/0.13.1...0.14.0
[0.13.1]: https://github.com/onbjerg/ethers-flashbots/compare/0.13.0...0.13.1
Expand Down
2 changes: 1 addition & 1 deletion src/middleware.rs
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ impl<M: Middleware, S: Signer> BroadcasterMiddleware<M, S> {
.into_iter()
.map(|r| Relay::new(r, Some(relay_signer.clone())))
.collect(),
simulation_relay: Relay::new(simulation_relay, None),
simulation_relay: Relay::new(simulation_relay, Some(relay_signer)),
}
}

Expand Down

0 comments on commit 1c55c16

Please sign in to comment.