From 9526921acb774b523a2e1d9ba9a7b389acfc6b70 Mon Sep 17 00:00:00 2001 From: cyan Date: Thu, 16 Jan 2025 09:37:11 +0100 Subject: extra case for bgsync (#107) --- impls/monero.ts/src/wallet.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'impls/monero.ts/src/wallet.ts') diff --git a/impls/monero.ts/src/wallet.ts b/impls/monero.ts/src/wallet.ts index 92832da..fc53c12 100644 --- a/impls/monero.ts/src/wallet.ts +++ b/impls/monero.ts/src/wallet.ts @@ -111,6 +111,10 @@ export class Wallet { ); } + async setRefreshFromBlockHeight(height = 0n): Promise { + return await fns.Wallet_setRefreshFromBlockHeight(this.#ptr, height); + } + async balance(accountIndex = 0): Promise { return await fns.Wallet_balance(this.#ptr, accountIndex); } -- cgit v1.2.3