From 230db03eadc1d37929443061a836ee281d388f4d Mon Sep 17 00:00:00 2001 From: Peter Ferguson Date: Thu, 24 Oct 2024 22:09:50 +0100 Subject: [PATCH] fix: ios type <-> walletType field name mismatch --- ios/ReactNativeSigner.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ios/ReactNativeSigner.swift b/ios/ReactNativeSigner.swift index 2f05687f1..e147c12a9 100644 --- a/ios/ReactNativeSigner.swift +++ b/ios/ReactNativeSigner.swift @@ -14,7 +14,7 @@ class ReactNativeSigner: NSObject, XMTP.SigningKey { var module: XMTPModule var address: String - var walletType: WalletType + var type: WalletType var chainId: Int64? var blockNumber: Int64? var continuations: [String: CheckedContinuation] = [:] @@ -23,7 +23,7 @@ class ReactNativeSigner: NSObject, XMTP.SigningKey { init(module: XMTPModule, address: String, walletType: WalletType = WalletType.EOA, chainId: Int64? = nil, blockNumber: Int64? = nil) { self.module = module self.address = address - self.walletType = walletType + self.type = walletType self.chainId = chainId self.blockNumber = blockNumber }