From dc984b4a72085068d771352fead001f16deaa10f Mon Sep 17 00:00:00 2001 From: keefertaylor Date: Wed, 14 Aug 2019 17:19:25 -0400 Subject: [PATCH] Allow external instantiation of OperationFees --- TezosKit/Models/OperationFees.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/TezosKit/Models/OperationFees.swift b/TezosKit/Models/OperationFees.swift index f86166ea..d0e82051 100644 --- a/TezosKit/Models/OperationFees.swift +++ b/TezosKit/Models/OperationFees.swift @@ -7,4 +7,10 @@ public struct OperationFees { public let fee: Tez public let gasLimit: Int public let storageLimit: Int + + public init(fee: Tez, gasLimit: Int, storageLimit: Int) { + self.fee = fee + self.gasLimit = gasLimit + self.storageLimit = storageLimit + } }