mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: add Sync to PayloadBuilder (#12425)
This commit is contained in:
@ -11,7 +11,7 @@ use tokio::sync::oneshot;
|
||||
|
||||
/// A type that can request, subscribe to and resolve payloads.
|
||||
#[async_trait::async_trait]
|
||||
pub trait PayloadBuilder: Send + Unpin {
|
||||
pub trait PayloadBuilder: Send + Sync + Unpin {
|
||||
/// The Payload type for the builder.
|
||||
type PayloadType: PayloadTypes;
|
||||
/// The error type returned by the builder.
|
||||
|
||||
Reference in New Issue
Block a user