File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -575,5 +575,11 @@ namespace sdk {
575
575
576
576
void ga_rust::disable_all_pin_logins () {}
577
577
578
+ int32_t ga_rust::spv_verify_tx (const nlohmann::json& details)
579
+ {
580
+ auto rustinput = gdkrust_json (details).get ();
581
+ return GDKRUST_spv_verify_tx (rustinput);
582
+ }
583
+
578
584
} // namespace sdk
579
585
} // namespace ga
Original file line number Diff line number Diff line change @@ -184,6 +184,8 @@ namespace sdk {
184
184
void set_local_encryption_keys (const pub_key_t & public_key, bool is_hw_wallet);
185
185
void disable_all_pin_logins ();
186
186
187
+ static int32_t spv_verify_tx (const nlohmann::json& details);
188
+
187
189
private:
188
190
static void GDKRUST_notif_handler (void * self_context, GDKRUST_json* json);
189
191
Original file line number Diff line number Diff line change @@ -169,8 +169,7 @@ namespace sdk {
169
169
int32_t spv_verify_tx (const nlohmann::json& details)
170
170
{
171
171
#ifdef BUILD_GDK_RUST
172
- auto rustinput = gdkrust_json (details).get ();
173
- return GDKRUST_spv_verify_tx (rustinput);
172
+ return ga_rust::spv_verify_tx (details);
174
173
#else
175
174
(void )details;
176
175
GDK_RUNTIME_ASSERT_MSG (false , " SPV not implemented" );
You can’t perform that action at this time.
0 commit comments