Skip to content

Commit

Permalink
gui: hint at rescan when importing wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
jp1ac4 committed Mar 13, 2024
1 parent 3420c54 commit 492baea
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion gui/src/installer/view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,19 @@ pub fn import_descriptor<'a>(
} else {
None
})
.push(col_descriptor),
.push(col_descriptor)
.push_maybe(if change_network {
// only show message when importing a descriptor
Some(text(
"After creating the wallet, \
you will need to perform a rescan of \
the blockchain in order to see your \
coins and past transactions. This can \
be done in Settings > Bitcoin Core.",
))
} else {
None
}),
)
.push(
if imported_descriptor.value.is_empty() || !imported_descriptor.valid {
Expand Down

0 comments on commit 492baea

Please sign in to comment.