Skip to content

Commit

Permalink
Include dest in relayer /pending_deposits output
Browse files Browse the repository at this point in the history
  • Loading branch information
mappum committed Nov 1, 2024
1 parent 5254ecc commit eab2d80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bitcoin/deposit_index.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use crate::error::Result;
use crate::{app::Dest, error::Result};
use bitcoin::{Address, Txid};
use serde::{Deserialize, Serialize};
use std::collections::HashMap;
Expand All @@ -13,6 +13,7 @@ pub struct Deposit {
pub sigset_index: u32,
pub miner_fee_rate: f64,
pub bridge_fee_rate: f64,
pub dest: Dest,
}

#[derive(Clone, Debug, Serialize, Deserialize)]
Expand Down
2 changes: 2 additions & 0 deletions src/bitcoin/relayer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@ impl Relayer {
sigset_index,
miner_fee_rate,
bridge_fee_rate,
dest: dest.clone(),
},
)
}
Expand Down Expand Up @@ -990,6 +991,7 @@ impl Relayer {
sigset_index,
miner_fee_rate,
bridge_fee_rate,
dest: dest.clone(),
},
);
}
Expand Down

0 comments on commit eab2d80

Please sign in to comment.