push haven fix
Some checks are pending
Cache Dependencies / test (push) Waiting to run

This commit is contained in:
OmarHatem 2024-08-18 03:48:25 +03:00
parent c59d39d42d
commit fe4b3e4eb0
2 changed files with 13 additions and 6 deletions

View file

@ -67,11 +67,11 @@ packages:
source: git source: git
version: "1.0.1" version: "1.0.1"
bitcoin_base: bitcoin_base:
dependency: "direct main" dependency: "direct overridden"
description: description:
path: "." path: "."
ref: cake-update-v4 ref: cake-update-v5
resolved-ref: "574486bfcdbbaf978dcd006b46fc8716f880da29" resolved-ref: ff2b10eb27b0254ce4518d054332d97d77d9b380
url: "https://github.com/cake-tech/bitcoin_base" url: "https://github.com/cake-tech/bitcoin_base"
source: git source: git
version: "4.7.0" version: "4.7.0"

View file

@ -10,10 +10,8 @@ import 'package:cw_haven/haven_transaction_info.dart';
import 'package:cw_haven/haven_wallet_addresses.dart'; import 'package:cw_haven/haven_wallet_addresses.dart';
import 'package:cw_core/monero_wallet_utils.dart'; import 'package:cw_core/monero_wallet_utils.dart';
import 'package:cw_haven/api/structs/pending_transaction.dart'; import 'package:cw_haven/api/structs/pending_transaction.dart';
import 'package:flutter/foundation.dart';
import 'package:mobx/mobx.dart'; import 'package:mobx/mobx.dart';
import 'package:cw_haven/api/transaction_history.dart' as haven_transaction_history; import 'package:cw_haven/api/transaction_history.dart' as haven_transaction_history;
//import 'package:cw_haven/wallet.dart';
import 'package:cw_haven/api/wallet.dart' as haven_wallet; import 'package:cw_haven/api/wallet.dart' as haven_wallet;
import 'package:cw_haven/api/transaction_history.dart' as transaction_history; import 'package:cw_haven/api/transaction_history.dart' as transaction_history;
import 'package:cw_haven/api/monero_output.dart'; import 'package:cw_haven/api/monero_output.dart';
@ -123,7 +121,8 @@ abstract class HavenWalletBase
login: node.login, login: node.login,
password: node.password, password: node.password,
useSSL: node.useSSL ?? false, useSSL: node.useSSL ?? false,
isLightWallet: false, // FIXME: hardcoded value isLightWallet: false,
// FIXME: hardcoded value
socksProxyAddress: node.socksProxyAddress); socksProxyAddress: node.socksProxyAddress);
haven_wallet.setTrustedDaemon(node.trusted); haven_wallet.setTrustedDaemon(node.trusted);
@ -419,4 +418,12 @@ abstract class HavenWalletBase
@override @override
String get password => _password; String get password => _password;
@override
Future<String> signMessage(String message, {String? address = null}) =>
throw UnimplementedError();
@override
Future<bool> verifyMessage(String message, String signature, {String? address = null}) =>
throw UnimplementedError();
} }