From 4fe48888e43d6dc40e153effaad5cca66f93a648 Mon Sep 17 00:00:00 2001 From: kugel3 Date: Fri, 22 Mar 2024 09:18:22 +0100 Subject: [PATCH] REMOVE THIS - mock account --- RadixWallet/Profile/Entity/Account.swift | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/RadixWallet/Profile/Entity/Account.swift b/RadixWallet/Profile/Entity/Account.swift index 6fead49ff8..c35da54ab5 100644 --- a/RadixWallet/Profile/Entity/Account.swift +++ b/RadixWallet/Profile/Entity/Account.swift @@ -76,7 +76,16 @@ extension Profile.Network { extraProperties: ExtraProperties ) { self.networkID = networkID + // FIXME: GK remove! + #if DEBUG + if networkID == .mainnet { + self.address = try! .init(validatingAddress: "account_rdx128z7rwu87lckvjd43rnw0jh3uczefahtmfuu5y9syqrwsjpxz8hz3l") + } else { + self.address = address + } + #else self.address = address + #endif self.securityState = securityState self.displayName = displayName self.flags = []