Skip to content

Commit 6c71db7

Browse files
committed
feat(Client): more api features
Signed-off-by: Ricky Saechao <[email protected]>
1 parent 53edb4f commit 6c71db7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Hedera/Client/Client.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ public final class Client: Sendable {
340340
/// # Panics
341341
/// - if amount is negative
342342
public func setDefaultMaxTransactionFee(_ amount: Hbar) throws {
343-
assert(amount.toTinybars() < 0, "Default max transaction fee cannot be set to a negative value.")
343+
assert(amount.toTinybars() >= 0, "Default max transaction fee cannot be set to a negative value.")
344344

345345
self.maxTransactionFeeInner.store(amount.toTinybars(), ordering: .relaxed)
346346
}

0 commit comments

Comments
 (0)