From 8197b41c38eccaf26194ed64abf4d83515b9b18a Mon Sep 17 00:00:00 2001 From: Mouaz Date: Mon, 2 May 2022 10:49:42 +0200 Subject: [PATCH] remove unwanted code --- Multisig/Logic/Models/Transaction.swift | 17 ----------------- .../ReviewChangeSafeTxViewController.swift | 5 ----- 2 files changed, 22 deletions(-) diff --git a/Multisig/Logic/Models/Transaction.swift b/Multisig/Logic/Models/Transaction.swift index 85966fb4c..7b5293883 100644 --- a/Multisig/Logic/Models/Transaction.swift +++ b/Multisig/Logic/Models/Transaction.swift @@ -218,23 +218,6 @@ extension Transaction { return transaction } - static func settingsChangeTransaction(safeAddress: Address, - data: Data, - safeTxGas: UInt256String, - nonce: UInt256String, - safeVersion: String, - chainId: String) -> Transaction? { - - Transaction(safeAddress: safeAddress, - chainId: chainId, - toAddress: safeAddress, - contractVersion: safeVersion, - amount: "0", - data: data, - safeTxGas: safeTxGas, - nonce: nonce) - } - var safeEncodedTxData: Data { [ Safe.DefaultEIP712SafeAppTxTypeHash, diff --git a/Multisig/UI/Settings/OwnerKeyManagement/AddKeyAsNewOwner/ReviewChangeSafeTxViewController.swift b/Multisig/UI/Settings/OwnerKeyManagement/AddKeyAsNewOwner/ReviewChangeSafeTxViewController.swift index 5a98a34a8..5bc940d8b 100644 --- a/Multisig/UI/Settings/OwnerKeyManagement/AddKeyAsNewOwner/ReviewChangeSafeTxViewController.swift +++ b/Multisig/UI/Settings/OwnerKeyManagement/AddKeyAsNewOwner/ReviewChangeSafeTxViewController.swift @@ -89,11 +89,6 @@ class ReviewChangeSafeTxViewController: ReviewSafeTransactionViewController { return cell } - override func viewDidAppear(_ animated: Bool) { - super.viewDidAppear(animated) - //TODO: track screen - } - override func onSuccess(transaction: SCGModels.TransactionDetails) { }