Skip to content

Commit 02167b7

Browse files
committed
improve unit test AccountStoreTest
1 parent 339dcd3 commit 02167b7

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/test/java/org/tron/core/db/AccountStoreTest.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import com.google.protobuf.ByteString;
44
import java.io.File;
5-
import java.util.Random;
65
import org.junit.AfterClass;
76
import org.junit.Assert;
87
import org.junit.BeforeClass;
@@ -54,12 +53,4 @@ public void get() {
5453
;
5554
Assert.assertTrue(AccountStoreTest.has(data));
5655
}
57-
58-
59-
public static byte[] randomBytes(int length) {
60-
//generate the random number
61-
byte[] result = new byte[length];
62-
new Random().nextBytes(result);
63-
return result;
64-
}
6556
}

0 commit comments

Comments
 (0)