diff --git a/cw_monero/ios/Classes/monero_api.cpp b/cw_monero/ios/Classes/monero_api.cpp index 1cb01fac7..e04282fe8 100644 --- a/cw_monero/ios/Classes/monero_api.cpp +++ b/cw_monero/ios/Classes/monero_api.cpp @@ -234,7 +234,6 @@ extern "C" } void setUnlocked(bool unlocked); - }; Monero::Coins *m_coins; @@ -568,7 +567,7 @@ extern "C" _preferred_inputs.insert(std::string(*preferred_inputs)); preferred_inputs++; } - + auto priority = static_cast<Monero::PendingTransaction::Priority>(priority_raw); std::string _payment_id; Monero::PendingTransaction *transaction; diff --git a/cw_monero/lib/monero_wallet_service.dart b/cw_monero/lib/monero_wallet_service.dart index 9d1a0b3e4..9ee4cf374 100644 --- a/cw_monero/lib/monero_wallet_service.dart +++ b/cw_monero/lib/monero_wallet_service.dart @@ -57,7 +57,7 @@ class MoneroWalletService extends WalletService< final Box<WalletInfo> walletInfoSource; final Box<UnspentCoinsInfo> unspentCoinsInfoSource; - + static bool walletFilesExist(String path) => !File(path).existsSync() && !File('$path.keys').existsSync(); diff --git a/lib/bitcoin/cw_bitcoin.dart b/lib/bitcoin/cw_bitcoin.dart index d641c808f..b92e3fd22 100644 --- a/lib/bitcoin/cw_bitcoin.dart +++ b/lib/bitcoin/cw_bitcoin.dart @@ -1,6 +1,7 @@ part of 'bitcoin.dart'; class CWBitcoin extends Bitcoin { + @override TransactionPriority getMediumTransactionPriority() => BitcoinTransactionPriority.medium; diff --git a/tool/append_translation.dart b/tool/append_translation.dart index 5c48aceab..9c017f64e 100644 --- a/tool/append_translation.dart +++ b/tool/append_translation.dart @@ -19,4 +19,4 @@ void main(List<String> args) async { appendStringToArbFile(fileName, name, translation); } -} +} \ No newline at end of file