Skip to content

Commit 09cf4f4

Browse files
committed
gui: hint at rescan when importing wallet
1 parent 3420c54 commit 09cf4f4

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

gui/src/installer/view.rs

+13-1
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,19 @@ pub fn import_descriptor<'a>(
414414
} else {
415415
None
416416
})
417-
.push(col_descriptor),
417+
.push(col_descriptor)
418+
.push_maybe(if change_network {
419+
// only show message when importing a descriptor
420+
Some(Row::new().push(text(
421+
"After creating the wallet, \
422+
you will need to perform a rescan of \
423+
the blockchain in order to see your \
424+
coins and past transactions. This can \
425+
be done in Settings > Bitcoin Core.",
426+
)))
427+
} else {
428+
None
429+
}),
418430
)
419431
.push(
420432
if imported_descriptor.value.is_empty() || !imported_descriptor.valid {

0 commit comments

Comments
 (0)