File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -2821,7 +2821,7 @@ namespace sdk {
2821
2821
}
2822
2822
2823
2823
if (m_spv_enabled) {
2824
- tx_details[" spv_verified" ] = " InProgress " ;
2824
+ tx_details[" spv_verified" ] = " in_progress " ;
2825
2825
if (!datadir.empty () && is_cached) {
2826
2826
nlohmann::json net_params = m_net_params.get_json ();
2827
2827
net_params[" electrum_url" ] = m_electrum_url;
@@ -2846,13 +2846,19 @@ namespace sdk {
2846
2846
}
2847
2847
});
2848
2848
} else if (verify_result == 1 ) {
2849
- tx_details[" spv_verified" ] = " Verified " ;
2849
+ tx_details[" spv_verified" ] = " verified " ;
2850
2850
} else if (verify_result == 2 ) {
2851
- tx_details[" spv_verified" ] = " NotVerified" ;
2851
+ tx_details[" spv_verified" ] = " not_verified" ;
2852
+ } else if (verify_result == 3 ) {
2853
+ tx_details[" spv_verified" ] = " disabled" ;
2854
+ } else if (verify_result == 4 ) {
2855
+ tx_details[" spv_verified" ] = " not_longest" ;
2856
+ } else if (verify_result == 5 ) {
2857
+ tx_details[" spv_verified" ] = " unconfirmed" ;
2852
2858
}
2853
2859
}
2854
2860
} else {
2855
- tx_details[" spv_verified" ] = " Disabled " ;
2861
+ tx_details[" spv_verified" ] = " disabled " ;
2856
2862
}
2857
2863
tx_details[" addressees" ] = addressees;
2858
2864
tx_details[" user_signed" ] = true ;
You can’t perform that action at this time.
0 commit comments