From 1cbe86646895fe3e1c93be44daa461c5fdd5101d Mon Sep 17 00:00:00 2001 From: Czarek Nakamoto Date: Mon, 19 May 2025 12:07:10 +0200 Subject: monero.dart: add ledger callback api --- impls/monero.dart/lib/src/monero.dart | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'impls/monero.dart/lib/src') diff --git a/impls/monero.dart/lib/src/monero.dart b/impls/monero.dart/lib/src/monero.dart index 4353841..ad9ec5a 100644 --- a/impls/monero.dart/lib/src/monero.dart +++ b/impls/monero.dart/lib/src/monero.dart @@ -1357,6 +1357,10 @@ class MoneroWallet implements Wallet2Wallet { static void setDeviceSendData(Pointer data, int len) { monero.Wallet_setDeviceSendData(data, len); } + + static void serLedgerCallback(Pointer, UnsignedInt)>> callback) { + monero.Wallet_setLedgerCallback(callback); + } @override void setOffline({required bool offline}) { -- cgit v1.2.3