Skip to content

Commit

Permalink
fix: the commitment
Browse files Browse the repository at this point in the history
  • Loading branch information
zanyfly committed Dec 11, 2024
1 parent 00d43f8 commit d0a2d61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SolanaSwift/APIClient/APIClient+Extension.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public extension SolanaAPIClient {
}

func getMinimumBalanceForRentExemption(span: UInt64) async throws -> UInt64 {
try await getMinimumBalanceForRentExemption(dataLength: span, commitment: "recent")
try await getMinimumBalanceForRentExemption(dataLength: span, commitment: "confirmed")
}

func getRecentBlockhash() async throws -> String {
Expand Down

0 comments on commit d0a2d61

Please sign in to comment.