File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1- use super :: bill:: get_signer_public_data_and_keys;
1+ use super :: bill:: { get_current_identity_node_id , get_signer_public_data_and_keys} ;
22use super :: middleware:: IdentityCheck ;
33use crate :: external;
44use crate :: external:: mint:: {
@@ -24,7 +24,7 @@ pub async fn return_quote(
2424 let bill_id_hex = hex:: encode ( bill_id_u8) ;
2525 let copy_id_hex = bill_id_hex. clone ( ) ;
2626
27- let local_node_id = state . identity_service . get_identity ( ) . await ? . node_id ;
27+ let local_node_id = get_current_identity_node_id ( & state ) . await ;
2828 if !quote. bill_id . is_empty ( ) && quote. quote_id . is_empty ( ) {
2929 // Usage of thread::spawn is necessary here, because we spawn a new tokio runtime in the
3030 // thread, but this logic will be replaced soon
You can’t perform that action at this time.
0 commit comments