Skip to content

Commit

Permalink
Merge pull request #108 from keefertaylor/public_op_fees_init
Browse files Browse the repository at this point in the history
Allow external instantiation of OperationFees
  • Loading branch information
keefertaylor authored Aug 14, 2019
2 parents e98d3e5 + dc984b4 commit e262356
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions TezosKit/Models/OperationFees.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

0 comments on commit e262356

Please sign in to comment.