gui: hint at rescan when importing wallet

This commit is contained in:
jp1ac4 2024-03-06 08:30:07 +00:00
parent 3420c54793
commit 492baeaaba
No known key found for this signature in database
GPG Key ID: A7ACD32423568D7B

View File

@ -414,7 +414,19 @@ pub fn import_descriptor<'a>(
} else { } else {
None 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( .push(
if imported_descriptor.value.is_empty() || !imported_descriptor.valid { if imported_descriptor.value.is_empty() || !imported_descriptor.valid {