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.
from
transactionOptions
1 parent 53b3c36 commit b8f924dCopy full SHA for b8f924d
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