diff options
| author | sneurlax <sneurlax@gmail.com> | 2024-10-16 17:14:41 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-16 17:14:41 -0500 |
| commit | 6260fed0d483dad6d8af016e1b223c36c13dca5b (patch) | |
| tree | ff6accbbe075eef647b3666fce42ab8cf2874778 /impls/monero.ts/src/wallet_manager.ts | |
| parent | b556f50129d1a55c81cb5bcdf749f154137c9999 (diff) | |
| parent | 939040032f6e22529ccb6b5f54d9c48fc94db3d6 (diff) | |
Merge branch 'master' into rust
Diffstat (limited to 'impls/monero.ts/src/wallet_manager.ts')
| -rw-r--r-- | impls/monero.ts/src/wallet_manager.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/impls/monero.ts/src/wallet_manager.ts b/impls/monero.ts/src/wallet_manager.ts index ad9cf31..b1fafec 100644 --- a/impls/monero.ts/src/wallet_manager.ts +++ b/impls/monero.ts/src/wallet_manager.ts @@ -1,5 +1,4 @@ -import { dylib } from "./bindings.ts"; -import { Sanitizer } from "./utils.ts"; +import { getSymbol, Sanitizer } from "./utils.ts"; export type WalletManagerPtr = Deno.PointerObject<"walletManager">; @@ -17,7 +16,7 @@ export class WalletManager { } static async new(sanitizer?: Sanitizer) { - const ptr = await dylib.symbols.MONERO_WalletManagerFactory_getWalletManager(); + const ptr = await getSymbol("WalletManagerFactory_getWalletManager")(); if (!ptr) { sanitizer?.(); throw new Error("Failed retrieving wallet manager"); |
