make "Null check used on null value" errors when .so errors out more useful (#1549)

bump monero_c commit to fix enotes error

cyan committed Jul 22, 2024 at 17:42 UTC 1b109ac70280f61845919ec80be1f8f64c999eff
3 files changed +3 -1
cw_monero/lib/api/wallet_manager.dart
+1
@@ -21,6 +21,7 @@ final monero.WalletManager wmPtr = Pointer.fromAddress((() {
21 print("ptr: $_wmPtr");
22 } catch (e) {
23 print(e);
24 + rethrow;
25 }
26 return _wmPtr!.address;
27 })());
cw_wownero/lib/api/wallet_manager.dart
+1
@@ -21,6 +21,7 @@ final wownero.WalletManager wmPtr = Pointer.fromAddress((() {
21 print("ptr: $_wmPtr");
22 } catch (e) {
23 print(e);
24 + rethrow;
25 }
26 return _wmPtr!.address;
27 })());
scripts/prepare_moneroc.sh
+1 -1
@@ -8,7 +8,7 @@ if [[ ! -d "monero_c" ]];
8 then
9 git clone https://github.com/mrcyjanek/monero_c --branch rewrite-wip
10 cd monero_c
11 - git checkout d1e246aaf4c53b60ff9e4ab4a4ac3ae4a1f94a33
11 + git checkout c094ed5da69d2274747bf6edd7ca24124487bd34
12 git reset --hard
13 git submodule update --init --force --recursive
14 ./apply_patches.sh monero