push haven fix

OmarHatem committed Aug 18, 2024 at 03:48 UTC fe4b3e4eb05ca5037500778102e031a67243a9ee
2 files changed +13 -6
cw_bitcoin/pubspec.lock
+3 -3
@@ -67,11 +67,11 @@ packages:
67 source: git
68 version: "1.0.1"
69 bitcoin_base:
70 - dependency: "direct main"
70 + dependency: "direct overridden"
71 description:
72 path: "."
73 - ref: cake-update-v4
74 - resolved-ref: "574486bfcdbbaf978dcd006b46fc8716f880da29"
73 + ref: cake-update-v5
74 + resolved-ref: ff2b10eb27b0254ce4518d054332d97d77d9b380
75 url: "https://github.com/cake-tech/bitcoin_base"
76 source: git
77 version: "4.7.0"
cw_haven/lib/haven_wallet.dart
+10 -3
@@ -10,10 +10,8 @@ import 'package:cw_haven/haven_transaction_info.dart';
10 import 'package:cw_haven/haven_wallet_addresses.dart';
11 import 'package:cw_core/monero_wallet_utils.dart';
12 import 'package:cw_haven/api/structs/pending_transaction.dart';
13 -import 'package:flutter/foundation.dart';
13 import 'package:mobx/mobx.dart';
14 import 'package:cw_haven/api/transaction_history.dart' as haven_transaction_history;
16 -//import 'package:cw_haven/wallet.dart';
15 import 'package:cw_haven/api/wallet.dart' as haven_wallet;
16 import 'package:cw_haven/api/transaction_history.dart' as transaction_history;
17 import 'package:cw_haven/api/monero_output.dart';
@@ -123,7 +121,8 @@ abstract class HavenWalletBase
121 login: node.login,
122 password: node.password,
123 useSSL: node.useSSL ?? false,
126 - isLightWallet: false, // FIXME: hardcoded value
124 + isLightWallet: false,
125 + // FIXME: hardcoded value
126 socksProxyAddress: node.socksProxyAddress);
127
128 haven_wallet.setTrustedDaemon(node.trusted);
@@ -419,4 +418,12 @@ abstract class HavenWalletBase
418
419 @override
420 String get password => _password;
421 +
422 + @override
423 + Future<String> signMessage(String message, {String? address = null}) =>
424 + throw UnimplementedError();
425 +
426 + @override
427 + Future<bool> verifyMessage(String message, String signature, {String? address = null}) =>
428 + throw UnimplementedError();
429 }