diff --git a/src/status/ens.nim b/src/status/ens.nim index b6e1300fea..55a977fc5b 100644 --- a/src/status/ens.nim +++ b/src/status/ens.nim @@ -142,7 +142,6 @@ proc extractCoordinates*(pubkey: string):tuple[x: string, y:string] = result = ("0x" & pubkey[4..67], "0x" & pubkey[68..131]) proc registerUsername*(username:string, address: EthAddress, pubKey: string, password: string): string = - echo username, "................." let label = fromHex(FixedBytes[32], label(username)) coordinates = extractCoordinates(pubkey) diff --git a/ui/app/AppLayouts/Profile/Sections/Ens/Welcome.qml b/ui/app/AppLayouts/Profile/Sections/Ens/Welcome.qml index 2cff4fcdd0..979ef6d773 100644 --- a/ui/app/AppLayouts/Profile/Sections/Ens/Welcome.qml +++ b/ui/app/AppLayouts/Profile/Sections/Ens/Welcome.qml @@ -282,8 +282,9 @@ Item { anchors.bottom: parent.bottom anchors.bottomMargin: Style.current.padding anchors.horizontalCenter: parent.horizontalCenter + disabled: profileModel.network !== "mainnet_rpc" //% "Start" - label: qsTrId("start") + label: !disabled ? qsTrId("start") : qsTr("Only available on Mainnet") onClicked: startBtnClicked() } } \ No newline at end of file