summaryrefslogtreecommitdiff
path: root/impls/monero.ts/src
diff options
context:
space:
mode:
authorCzarek Nakamoto <cyjan@mrcyjanek.net>2025-01-15 23:52:39 +0100
committerCzarek Nakamoto <cyjan@mrcyjanek.net>2025-01-15 23:52:39 +0100
commit1ce94315822b2e0d6b290d0a168d60bd9d2fed31 (patch)
tree7aae5612302482f1f76cb2f37a4d5c134611e0f5 /impls/monero.ts/src
parentb4c3fbacab594bd1e67e71602a1ac07f0c19a77f (diff)
extra case for bgsyncbgsync-extra-case
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 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);
}