From 492baeaabaf181523d0aac3ac1da8ce2ca837ece Mon Sep 17 00:00:00 2001 From: jp1ac4 <121959000+jp1ac4@users.noreply.github.com> Date: Wed, 6 Mar 2024 08:30:07 +0000 Subject: [PATCH] gui: hint at rescan when importing wallet --- gui/src/installer/view.rs | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/gui/src/installer/view.rs b/gui/src/installer/view.rs index ab19c6035..60eb4efa9 100644 --- a/gui/src/installer/view.rs +++ b/gui/src/installer/view.rs @@ -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 {