fix: Make TychoEncode Send + Sync
Took 10 minutes
This commit is contained in:
@@ -25,7 +25,7 @@ use crate::encoding::{
|
|||||||
/// Tycho is only responsible for generating the internal swap plan. **The user must encode the
|
/// Tycho is only responsible for generating the internal swap plan. **The user must encode the
|
||||||
/// outer function call arguments themselves** and verify that they enforce correct and secure
|
/// outer function call arguments themselves** and verify that they enforce correct and secure
|
||||||
/// behavior.
|
/// behavior.
|
||||||
pub trait TychoEncoder {
|
pub trait TychoEncoder: Send + Sync {
|
||||||
/// Encodes a list of [`Solution`]s into [`EncodedSolution`]s, which include the function
|
/// Encodes a list of [`Solution`]s into [`EncodedSolution`]s, which include the function
|
||||||
/// signature and internal swap call data.
|
/// signature and internal swap call data.
|
||||||
///
|
///
|
||||||
|
|||||||
Reference in New Issue
Block a user