Skip to content

Commit 69d9f69

Browse files
committed
feat!(wallet): use NetworkKind
1 parent 58c5bb4 commit 69d9f69

File tree

4 files changed

+103
-95
lines changed

4 files changed

+103
-95
lines changed

wallet/src/wallet/changeset.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ type IndexedTxGraphChangeSet =
3434
///
3535
/// ## Members and required fields
3636
///
37-
/// The change set has certain required fields without which a `Wallet` cannot function.
38-
/// These include the [`descriptor`] and the [`network`] in use. These are required to be non-empty
39-
/// *in the aggregate*, meaning the field must be present and non-null in the union of all
37+
/// The change set has certain required fields without which a [`Wallet`] cannot function.
38+
/// These include the [`descriptor`] and the [`bitcoin::Network`] in use. These are required to be
39+
/// non-empty *in the aggregate*, meaning the field must be present and non-null in the union of all
4040
/// persisted changes, but may be empty in any one change set, where "empty" is defined by the
4141
/// [`Merge`](Merge::is_empty) implementation of that change set. This requirement also applies to
4242
/// the [`local_chain`] field in that the aggregate change set must include a genesis block.
4343
///
44-
/// For example, the descriptor and network are present in the first change set after wallet
45-
/// creation, but are usually omitted in subsequent updates, as they are not permitted to change
46-
/// at any point thereafter.
44+
/// For example, the [`descriptor`] and [`bitcoin::Network`] are present in the first change set
45+
/// after wallet creation, but are usually omitted in subsequent updates, as they are not permitted
46+
/// to change at any point thereafter.
4747
///
4848
/// Other fields of the change set are not required to be non-empty, that is they may be empty even
4949
/// in the aggregate. However in practice they should contain the data needed to recover a wallet

0 commit comments

Comments
 (0)