summaryrefslogtreecommitdiff
path: root/impls/monero.ts/src
diff options
context:
space:
mode:
authorIm-Beast <franik.mateusz@gmail.com>2024-10-14 17:01:44 +0200
committerIm-Beast <franik.mateusz@gmail.com>2024-10-14 17:01:44 +0200
commitde8c27c0f528738a3377f3e6b4a0ee729d3ce4d8 (patch)
tree1cbb8d226ae029160f0481c6fc8e327d5c951e6c /impls/monero.ts/src
parent44fd5e17bbce52caf681850ac79f463d9ce6bb31 (diff)
regression tests
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();