Skip to content

Commit

Permalink
Merge pull request #243 from zoedberg/anyresolver_send
Browse files Browse the repository at this point in the history
RgbResolver: add Send trait bound
  • Loading branch information
dr-orlovsky committed Sep 4, 2024
2 parents ab825ab + af4c130 commit 3bce0f2
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 3bce0f2

Please sign in to comment.