fix: fix lint issue

This commit is contained in:
dudaodong committed 2022-12-10 16:53:41 +08:00
1 parent 13bbe19ab2
commit 1197e8d1b6
6 files changed
+30 -29

No files matched your search

-1
View File
@@ -114,7 +114,6 @@ func RsaDecrypt(data []byte, privateKeyFileName string) []byte {
buf := make([]byte, fileInfo.Size())
defer file.Close()
file.Read(buf)
_, err = file.Read(buf)
if err != nil {
panic(err)