File tree Expand file tree Collapse file tree 2 files changed +0
-3
lines changed
Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ export type AuthMessage = [
1212
1313export async function manageAuth ( data : any ) : Promise < RPCResponse > {
1414 // REVIEW Auth reply listener should not add a client to the peerlist if is read only
15- const identity = await Cryptography . load ( "./.demos_identity" )
1615 log . info ( "SERVER" , "Received auth reply" )
1716 // Unpack the data for readability
1817 if ( data !== "readonly" ) {
@@ -53,8 +52,6 @@ export async function manageAuth(data: any): Promise<RPCResponse> {
5352 } else {
5453 log . info ( "SERVER" , "Client is read only: not asking for authentication" )
5554 }
56- // And we reply ok with our signature too
57- const signature = Cryptography . sign ( "auth_ok" , identity . privateKey as any )
5855 return {
5956 result : 200 ,
6057 response : "OK" ,
You can’t perform that action at this time.
0 commit comments