mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-21 20:09:37 +00:00
parent
9b9fc74140
commit
26b577824a
@ -18,6 +18,7 @@ StatusModal {
|
||||
|
||||
property string error: ""
|
||||
property string keyValidationError: ""
|
||||
property string communityKey: ""
|
||||
|
||||
function validate() {
|
||||
keyValidationError = "";
|
||||
@ -75,7 +76,7 @@ StatusModal {
|
||||
return;
|
||||
}
|
||||
|
||||
let communityKey = keyInput.text.trim();
|
||||
communityKey = keyInput.text.trim();
|
||||
if (!communityKey.startsWith("0x")) {
|
||||
communityKey = "0x" + communityKey;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user