Skip to content

Commit

Permalink
add Send trait bound to AnyResolver's inner
Browse files Browse the repository at this point in the history
  • Loading branch information
zoedberg committed Sep 4, 2024
1 parent ab825ab commit 94b5222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/indexers/any.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ use crate::{Txid, XChain};

// We need to repeat methods of `WitnessResolve` trait here to avoid making
// wrappers around resolver types. TODO: Use wrappers instead
pub trait RgbResolver {
pub trait RgbResolver: Send {
fn check(&self, network: Network, expected_block_hash: String) -> Result<(), String>;
fn resolve_pub_witness(&self, txid: Txid) -> Result<Option<Tx>, String>;
fn resolve_pub_witness_ord(&self, txid: Txid) -> Result<WitnessOrd, String>;
Expand Down

0 comments on commit 94b5222

Please sign in to comment.