Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Wallet fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenHeaps committed Oct 19, 2023
1 parent 66c0864 commit 4d4a7eb
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ import BraveCore
///
/// - note: Do not use this directly, use ``NetworkStore.previewStore``
class MockBraveWalletService: BraveWalletBraveWalletService {
func generateReceiveAddress(_ accountId: BraveWallet.AccountId, completion: @escaping (String?, String?) -> Void) {
completion(nil, "Error Message")
}

private var assets: [String: [BraveWallet.BlockchainToken]] = [
BraveWallet.MainnetChainId: [.previewToken],
BraveWallet.GoerliChainId: [.previewToken],
Expand Down Expand Up @@ -278,5 +274,9 @@ class MockBraveWalletService: BraveWalletBraveWalletService {
func notifySignMessageErrorProcessed(_ errorId: String) {

}

func generateReceiveAddress(_ accountId: BraveWallet.AccountId, completion: @escaping (String?, String?) -> Void) {
completion(nil, "Error Message")
}
}
#endif

0 comments on commit 4d4a7eb

Please sign in to comment.