Clean unnecessary code in Trojan

This commit is contained in:
RPRX
2023-07-06 15:18:05 +00:00
committed by GitHub
parent 846d3ebd6c
commit 6d4194415d
8 changed files with 63 additions and 97 deletions

View File

@@ -13,7 +13,6 @@ import (
type MemoryAccount struct {
Password string
Key []byte
Flow string
}
// AsAccount implements protocol.AsAccount.
@@ -23,7 +22,6 @@ func (a *Account) AsAccount() (protocol.Account, error) {
return &MemoryAccount{
Password: password,
Key: key,
Flow: a.Flow,
}, nil
}