This commit is contained in:
Matthew Fosse 2024-09-19 17:16:17 -07:00
parent 7ee8949a71
commit 03a3fb8d74
2 changed files with 4 additions and 6 deletions

View file

@ -887,8 +887,6 @@ abstract class LitecoinWalletBase extends ElectrumWallet with Store {
}
});
throw Exception("Not finished!");
tx.hexOverride = tx2
.copyWith(
witnesses: tx2.inputs.asMap().entries.map((e) {

View file

@ -13,20 +13,20 @@ public static func register(with registrar: FlutterPluginRegistrar) {
private static var port: Int = 0
private static var dataDir: String?
public func handle(_ call: FlutterMethodCall, result: @escaping FlutterResult) {
public func handle(_ call: FlutterMethodCall, result: @escaping FlutterResult) async {
switch call.method {
case "getPlatformVersion":
result("iOS " + UIDevice.current.systemVersion)
break
case "start":
stopServer()
await stopServer()
let args = call.arguments as? [String: String]
let dataDir = args?["dataDir"]
CwMwebPlugin.dataDir = dataDir
startServer(result: result)
await startServer(result: result)
break
case "stop":
stopServer()
await stopServer()
result(nil)
break
case "address":