Skip to content

Commit

Permalink
Merge #996: gui: hint at rescan when importing wallet
Browse files Browse the repository at this point in the history
492baea gui: hint at rescan when importing wallet (jp1ac4)

Pull request description:

  This is to resolve #866.

  I've added the message to the first step where the user enters the descriptor:

  ![image](https://github.com/wizardsardine/liana/assets/121959000/122c0476-79b5-4b0d-a711-73312a94dc01)

ACKs for top commit:
  edouardparis:
    ACK 492baea

Tree-SHA512: 7899ca979b2988d18e6d7be35bad4029db0f1c45f332739f779b532059a710be70463bb85167ffc04491dae35d9300e051788da92bd63ca67a301576b449ad8b
  • Loading branch information
darosior committed Mar 13, 2024
2 parents 3bd9160 + 492baea commit b11dbfd
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 b11dbfd

Please sign in to comment.