File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/main/java/org/tron/keystore Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ public boolean equals(Object o) {
7070 if (o == null ) {
7171 return false ;
7272 }
73- if (o .getClass () != WalletFile . class ) {
73+ if (o .getClass () != this . getClass () ) {
7474 return false ;
7575 }
7676
@@ -185,7 +185,7 @@ public boolean equals(Object o) {
185185 if (o == null ) {
186186 return false ;
187187 }
188- if (o .getClass () != Crypto . class ) {
188+ if (o .getClass () != this . getClass () ) {
189189 return false ;
190190 }
191191
@@ -256,7 +256,7 @@ public boolean equals(Object o) {
256256 if (o == null ) {
257257 return false ;
258258 }
259- if (o .getClass () != CipherParams . class ) {
259+ if (o .getClass () != this . getClass () ) {
260260 return false ;
261261 }
262262
@@ -331,7 +331,7 @@ public boolean equals(Object o) {
331331 if (o == null ) {
332332 return false ;
333333 }
334- if (o .getClass () != Aes128CtrKdfParams . class ) {
334+ if (o .getClass () != this . getClass () ) {
335335 return false ;
336336 }
337337
@@ -421,7 +421,7 @@ public boolean equals(Object o) {
421421 if (o == null ) {
422422 return false ;
423423 }
424- if (o .getClass () != ScryptKdfParams . class ) {
424+ if (o .getClass () != this . getClass () ) {
425425 return false ;
426426 }
427427
You can’t perform that action at this time.
0 commit comments