Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add getters to wallet info L1 data #75

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@
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