Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zkokelj committed Nov 1, 2023
1 parent eb4cbb9 commit ba2aa03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/walletextension/accountmanager/account_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (m *AccountManager) ProxyRequest(rpcReq *wecommon.RPCRequest, rpcResp *inte
m.logger.Error("Error subscribing to multiple clients")
return err
}
return err
return nil
}
return m.executeCall(rpcReq, rpcResp)
}
Expand Down
2 changes: 1 addition & 1 deletion tools/walletextension/wallet_extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ func (w *WalletExtension) AddAddressToUser(hexUserID string, message string, sig
encClient, err := common.CreateEncClient(w.hostAddr, addressFromMessage.Bytes(), privateKeyBytes, signature, w.Logger())
if err != nil {
w.Logger().Error(fmt.Errorf("error creating encrypted client for user: (%s), %w", hexUserID, err).Error())
return errors.New(fmt.Errorf("error creating encrypted client for user: (%s), %w", hexUserID, err).Error())
return fmt.Errorf("error creating encrypted client for user: (%s), %w", hexUserID, err)
}

accManager.AddClient(addressFromMessage, encClient)
Expand Down

0 comments on commit ba2aa03

Please sign in to comment.