diff options
| author | cyan <cyjan@mrcyjanek.net> | 2025-01-16 09:37:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-16 09:37:11 +0100 |
| commit | 9526921acb774b523a2e1d9ba9a7b389acfc6b70 (patch) | |
| tree | 7aae5612302482f1f76cb2f37a4d5c134611e0f5 /impls | |
| parent | b4c3fbacab594bd1e67e71602a1ac07f0c19a77f (diff) | |
extra case for bgsync (#107)
Diffstat (limited to 'impls')
| -rw-r--r-- | impls/monero.ts/src/wallet.ts | 4 |
1 files changed, 4 insertions, 0 deletions
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<void> { + return await fns.Wallet_setRefreshFromBlockHeight(this.#ptr, height); + } + async balance(accountIndex = 0): Promise<bigint> { return await fns.Wallet_balance(this.#ptr, accountIndex); } |
