Skip to content

Commit 63a6620

Browse files
authored
Merge pull request #75 from crisdut/custom/getters
Add getters to wallet info L1 data
2 parents 38f7267 + e3f00a2 commit 63a6620

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/wallet.rs

+2
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,8 @@ impl<K, D: Descriptor<K>> Wallet<K, D> {
515515
layer2: none!(),
516516
}
517517
}
518+
pub fn data_l1(&self) -> &WalletData<Layer2Empty> { &self.data }
519+
pub fn cache_l1(&self) -> &WalletCache<Layer2Empty> { &self.cache }
518520
}
519521

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

0 commit comments

Comments
 (0)