Skip to content

Commit

Permalink
Merge pull request #570 from mloit/hotfix/fix-issue-569
Browse files Browse the repository at this point in the history
  • Loading branch information
yaroslavyaroslav authored May 25, 2022
2 parents 3342d0e + b8f924d commit 992d411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/web3swift/Web3/Web3+Options.swift
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ extension TransactionOptions: Decodable {
self.to = ethAddr
}

self.from = try container.decodeIfPresent(EthereumAddress.self, forKey: .to)
self.from = try container.decodeIfPresent(EthereumAddress.self, forKey: .from)

if let gasPrice = try? container.decodeHex(BigUInt.self, forKey: .gasPrice) {
self.gasPrice = .manual(gasPrice)
Expand Down

0 comments on commit 992d411

Please sign in to comment.