Skip to content

Commit

Permalink
Merge pull request #516 from peterferguson/pf/np/smart-contract-sdk-s…
Browse files Browse the repository at this point in the history
…upport

fix: ios type <-> walletType field name mismatch
  • Loading branch information
nplasterer authored Oct 24, 2024
2 parents bf43701 + 230db03 commit 74c82dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios/ReactNativeSigner.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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<XMTP.Signature, Swift.Error>] = [:]
Expand All @@ -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
}
Expand Down

0 comments on commit 74c82dd

Please sign in to comment.