summaryrefslogtreecommitdiff
path: root/impls/monero.ts/src
diff options
context:
space:
mode:
Diffstat (limited to 'impls/monero.ts/src')
-rw-r--r--impls/monero.ts/src/wallet.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/impls/monero.ts/src/wallet.ts b/impls/monero.ts/src/wallet.ts
index 07c40ce..e3aae2e 100644
--- a/impls/monero.ts/src/wallet.ts
+++ b/impls/monero.ts/src/wallet.ts
@@ -19,6 +19,10 @@ export class Wallet {
this.sanitizer = sanitizer;
}
+ getPointer(): WalletPtr {
+ return this.#walletPtr;
+ }
+
async store(path = ""): Promise<boolean> {
const bool = await dylib.symbols.MONERO_Wallet_store(this.#walletPtr, CString(path));
await this.throwIfError();