Skip to content

Commit 5d97e13

Browse files
committed
fix(chain): forward confirmation_height_upper_bound in Anchor impl for &A
The blanket `Anchor` impl for `&A` was missing the `confirmation_height_upper_bound` method, causing it to fall back to the default implementation instead of delegating to the inner type.
1 parent e39aa48 commit 5d97e13

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

crates/chain/src/tx_data_traits.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ impl<A: Anchor> Anchor for &A {
8181
fn anchor_block(&self) -> BlockId {
8282
<A as Anchor>::anchor_block(self)
8383
}
84+
85+
fn confirmation_height_upper_bound(&self) -> u32 {
86+
<A as Anchor>::confirmation_height_upper_bound(self)
87+
}
8488
}
8589

8690
impl Anchor for BlockId {

0 commit comments

Comments
 (0)