jacobkaufmann / evangelion

a prototype ethereum block builder
Apache License 2.0
83 stars 10 forks source link

remove '&self' param in builder maintenance function #22

Open jacobkaufmann opened 1 year ago

jacobkaufmann commented 1 year ago

we can remove &self from builder maintenance function by cloning and passing in the values we need from &self

https://github.com/jacobkaufmann/evangelion/blob/b5317b273a39e5140dd3a34417c0900043b0d35b/src/builder.rs#L495-L499