Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
Bojan Nikitovic authored and Bojan Nikitovic committed Jul 9, 2023
1 parent d18f523 commit e08de93
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/web3swift/Transaction/EIP712Envelope.swift
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,11 @@ extension EIP712Envelope {
paymasterParams = PaymasterParams(paymaster: paymasterAddress, paymasterInput: paymasterInput)
}

#if canImport(web3swift_zksync2)
self.EIP712Meta = web3swift_zksync2.EIP712Meta(gasPerPubdata: gasPerPubdata, customSignature: customSignature, paymasterParams: paymasterParams, factoryDeps: factoryDeps)
#else
self.EIP712Meta = EIP712Meta(gasPerPubdata: gasPerPubdata, customSignature: customSignature, paymasterParams: paymasterParams, factoryDeps: factoryDeps)
#endif

switch rlpItem[RlpKey.from.rawValue]!.content {
// swiftlint:enable force_unwrapping
Expand Down

0 comments on commit e08de93

Please sign in to comment.