We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3342d0e + b8f924d commit 992d411Copy full SHA for 992d411
Sources/web3swift/Web3/Web3+Options.swift
@@ -235,7 +235,7 @@ extension TransactionOptions: Decodable {
235
self.to = ethAddr
236
}
237
238
- self.from = try container.decodeIfPresent(EthereumAddress.self, forKey: .to)
+ self.from = try container.decodeIfPresent(EthereumAddress.self, forKey: .from)
239
240
if let gasPrice = try? container.decodeHex(BigUInt.self, forKey: .gasPrice) {
241
self.gasPrice = .manual(gasPrice)
0 commit comments