Fix minor build issues, resulting in the tests now running
[ldk-swift-linux] / LDKSwift / Tests / LDKSwiftTests / MyFeeEstimator.swift
diff --git a/LDKSwift/Tests/LDKSwiftTests/MyFeeEstimator.swift b/LDKSwift/Tests/LDKSwiftTests/MyFeeEstimator.swift
new file mode 100644 (file)
index 0000000..8f26094
--- /dev/null
@@ -0,0 +1,18 @@
+//
+//  MyFeeEstimator.swift
+//  LDKSwiftARC
+//
+//  Created by Arik Sosman on 5/17/21.
+//
+
+import Foundation
+import LDKSwift
+import LDKCHeaders
+
+class MyFeeEstimator: FeeEstimator {
+    
+    override func get_est_sat_per_1000_weight(confirmation_target: LDKConfirmationTarget) -> UInt32 {
+        return 253
+    }
+    
+}