Skip to content

Commit

Permalink
Update integration.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
BitcoinZavior authored Feb 24, 2024
1 parent 60e4c97 commit 42262bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use bdk::wallet::AddressIndex;
use bdk::{FeeRate, LocalUtxo, SignOptions, Wallet as BdkWallet};
use payjoin::bitcoin::consensus::encode::serialize_hex;
use payjoin_ffi::error::PayjoinError;
use payjoin_ffi::receive::{
use payjoin_ffi::receive::v1::{
Headers, IsOutputKnown, IsScriptOwned, PayjoinProposal, ProcessPartiallySignedTransaction,
UncheckedProposal,
};
Expand Down Expand Up @@ -243,7 +243,7 @@ fn build_original_psbt(
}
mod v1 {
use bdk::wallet::AddressIndex;
use payjoin_ffi::send::RequestBuilder;
use payjoin_ffi::send::v1::RequestBuilder;

use super::*;

Expand Down Expand Up @@ -287,7 +287,7 @@ mod v1 {

struct MockCanBroadcast();

impl payjoin_ffi::receive::CanBroadcast for MockCanBroadcast {
impl payjoin_ffi::receive::v1::CanBroadcast for MockCanBroadcast {
fn callback(&self, tx: Vec<u8>) -> Result<bool, PayjoinError> {
debug!("{}", serialize_hex(&tx));
Ok(true)
Expand Down

0 comments on commit 42262bf

Please sign in to comment.