mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-19 01:04:43 +00:00
fix
This commit is contained in:
parent
7ee8949a71
commit
03a3fb8d74
2 changed files with 4 additions and 6 deletions
|
@ -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) {
|
||||
|
|
|
@ -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":
|
||||
|
|
Loading…
Reference in a new issue