parent
9b9fc74140
commit
26b577824a
|
@ -18,6 +18,7 @@ StatusModal {
|
||||||
|
|
||||||
property string error: ""
|
property string error: ""
|
||||||
property string keyValidationError: ""
|
property string keyValidationError: ""
|
||||||
|
property string communityKey: ""
|
||||||
|
|
||||||
function validate() {
|
function validate() {
|
||||||
keyValidationError = "";
|
keyValidationError = "";
|
||||||
|
@ -75,7 +76,7 @@ StatusModal {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
let communityKey = keyInput.text.trim();
|
communityKey = keyInput.text.trim();
|
||||||
if (!communityKey.startsWith("0x")) {
|
if (!communityKey.startsWith("0x")) {
|
||||||
communityKey = "0x" + communityKey;
|
communityKey = "0x" + communityKey;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue