Skip to content

Commit

Permalink
add l1 getters
Browse files Browse the repository at this point in the history
  • Loading branch information
crisdut committed Nov 20, 2024
1 parent 139d936 commit e3f00a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,8 @@ impl<K, D: Descriptor<K>> Wallet<K, D> {
layer2: none!(),
}
}
pub fn data_l1(&self) -> &WalletData<Layer2Empty> { &self.data }
pub fn cache_l1(&self) -> &WalletCache<Layer2Empty> { &self.cache }

Check warning on line 507 in src/wallet.rs

View check run for this annotation

Codecov / codecov/patch

src/wallet.rs#L506-L507

Added lines #L506 - L507 were not covered by tests
}

impl<K, D: Descriptor<K>, L2: Layer2> Wallet<K, D, L2> {
Expand Down

0 comments on commit e3f00a2

Please sign in to comment.