@@ -46,14 +46,11 @@ pub async fn execute_admin_cancel_dispute(dispute_id: &Uuid, ctx: &Context) -> R
4646 . as_json ( )
4747 . map_err ( |_| anyhow:: anyhow!( "Failed to serialize message" ) ) ?;
4848
49- println ! (
50- "identity_keys: {:?}" ,
51- ctx. identity_keys. public_key. to_string( )
52- ) ;
49+ println ! ( "Admin keys: {:?}" , ctx. context_keys. public_key. to_string( ) ) ;
5350
5451 send_dm (
5552 & ctx. client ,
56- Some ( & ctx. identity_keys ) ,
53+ Some ( & ctx. context_keys ) ,
5754 & ctx. trade_keys ,
5855 & ctx. mostro_pubkey ,
5956 take_dispute_message,
@@ -77,14 +74,11 @@ pub async fn execute_admin_settle_dispute(dispute_id: &Uuid, ctx: &Context) -> R
7774 . as_json ( )
7875 . map_err ( |_| anyhow:: anyhow!( "Failed to serialize message" ) ) ?;
7976
80- println ! (
81- "identity_keys: {:?}" ,
82- ctx. identity_keys. public_key. to_string( )
83- ) ;
77+ println ! ( "Admin keys: {:?}" , ctx. context_keys. public_key. to_string( ) ) ;
8478
8579 send_dm (
8680 & ctx. client ,
87- Some ( & ctx. identity_keys ) ,
81+ Some ( & ctx. context_keys ) ,
8882 & ctx. trade_keys ,
8983 & ctx. mostro_pubkey ,
9084 take_dispute_message,
@@ -113,14 +107,11 @@ pub async fn execute_take_dispute(dispute_id: &Uuid, ctx: &Context) -> Result<()
113107 . as_json ( )
114108 . map_err ( |_| anyhow:: anyhow!( "Failed to serialize message" ) ) ?;
115109
116- println ! (
117- "identity_keys: {:?}" ,
118- ctx. identity_keys. public_key. to_string( )
119- ) ;
110+ println ! ( "Admin keys: {:?}" , ctx. context_keys. public_key. to_string( ) ) ;
120111
121112 send_dm (
122113 & ctx. client ,
123- Some ( & ctx. identity_keys ) ,
114+ Some ( & ctx. context_keys ) ,
124115 & ctx. trade_keys ,
125116 & ctx. mostro_pubkey ,
126117 take_dispute_message,
0 commit comments