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} ;
2
2
use super :: middleware:: IdentityCheck ;
3
3
use crate :: external;
4
4
use crate :: external:: mint:: {
@@ -24,7 +24,7 @@ pub async fn return_quote(
24
24
let bill_id_hex = hex:: encode ( bill_id_u8) ;
25
25
let copy_id_hex = bill_id_hex. clone ( ) ;
26
26
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 ;
28
28
if !quote. bill_id . is_empty ( ) && quote. quote_id . is_empty ( ) {
29
29
// Usage of thread::spawn is necessary here, because we spawn a new tokio runtime in the
30
30
// thread, but this logic will be replaced soon
You can’t perform that action at this time.
0 commit comments