Reword warning for non-unique provider key kind

This commit is contained in:
Michael Mallan 2025-03-17 19:32:49 +00:00
parent 96570cd4cc
commit d4dd7b3dbf
No known key found for this signature in database
GPG Key ID: 5177CDCEDB0EABEB

View File

@ -266,7 +266,10 @@ impl super::DescriptorEditModal for EditXpubModal {
&& existing.source.provider_key_kind()
!= key.source.provider_key_kind()
}) {
Some("Two keys with the same fingerprint must have the same provider key kind.".to_string())
Some(
"Fetched key has already been added to the wallet."
.to_string(),
)
} else {
None
};