summaryrefslogtreecommitdiff
path: root/impls/monero.dart/lib/src/wownero.dart
diff options
context:
space:
mode:
Diffstat (limited to 'impls/monero.dart/lib/src/wownero.dart')
-rw-r--r--impls/monero.dart/lib/src/wownero.dart5
1 files changed, 5 insertions, 0 deletions
diff --git a/impls/monero.dart/lib/src/wownero.dart b/impls/monero.dart/lib/src/wownero.dart
index cd16f9b..c1ef9eb 100644
--- a/impls/monero.dart/lib/src/wownero.dart
+++ b/impls/monero.dart/lib/src/wownero.dart
@@ -1649,6 +1649,11 @@ class WowneroWalletManager implements Wallet2WalletManager {
bool walletExists(String path) {
return wownero.WalletManager_walletExists(wmPtr, path);
}
+
+ @override
+ void closeWallet(Wallet2Wallet wallet, bool store) {
+ wownero.WalletManager_closeWallet(wmPtr, Pointer.fromAddress(wallet.ffiAddress()), store);
+ }
@override
int ffiAddress() => wmPtr.address;