From de8c27c0f528738a3377f3e6b4a0ee729d3ce4d8 Mon Sep 17 00:00:00 2001 From: Im-Beast Date: Mon, 14 Oct 2024 17:01:44 +0200 Subject: regression tests --- impls/monero.ts/src/wallet.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'impls/monero.ts/src') 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 { const bool = await dylib.symbols.MONERO_Wallet_store(this.#walletPtr, CString(path)); await this.throwIfError(); -- cgit v1.2.3