We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3ea54d commit 5603e9fCopy full SHA for 5603e9f
crates/chain/src/rusqlite_impl.rs
@@ -549,7 +549,7 @@ mod test {
549
550
#[test]
551
fn can_persist_anchors_and_txs_independently() -> anyhow::Result<()> {
552
- type ChangeSet = tx_graph::ChangeSet<BlockId>;
+ type ChangeSet = tx_graph::ChangeSet<ConfirmationBlockTime>;
553
let mut conn = rusqlite::Connection::open_in_memory()?;
554
555
// init tables
@@ -567,9 +567,12 @@ mod test {
567
};
568
let tx = Arc::new(tx);
569
let txid = tx.compute_txid();
570
- let anchor = BlockId {
571
- height: 21,
572
- hash: hash!("anchor"),
+ let anchor = ConfirmationBlockTime {
+ block_id: BlockId {
+ height: 21,
573
+ hash: hash!("anchor"),
574
+ },
575
+ confirmation_time: 1342,
576
577
578
// First persist the anchor
0 commit comments