Skip to content

Commit

Permalink
Update AptosTransactionBuilder.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
xueyuejie committed Oct 26, 2022
1 parent 2a846a1 commit c2b9a9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/AptosSwift/Util/AptosTransactionBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public struct AptosTransactionBuilder {
return arg as! UInt64
}
if type(of: arg) == Int.self {
return arg as! UInt64
return UInt64(arg as! Int)
}
if type(of: arg) == String.self, let v = UInt64(arg as! String) {
return v
Expand Down

0 comments on commit c2b9a9f

Please sign in to comment.