Skip to content

Commit e20b5cf

Browse files
committed
feat(validate): strengthen transaction result verification
1 parent 12fcd4a commit e20b5cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

framework/src/test/java/org/tron/core/db/ManagerTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,8 @@ public void fork()
812812
assertThrows(BadBlockException.class, () -> dbManager.pushBlock(blockCapsule3));
813813
}
814814

815-
private Transaction buildTransaction(com.google.protobuf.Message message, ContractType contractType) {
815+
private Transaction buildTransaction(com.google.protobuf.Message message,
816+
ContractType contractType) {
816817
Transaction.raw.Builder rawBuilder = Transaction.raw.newBuilder().addContract(
817818
Transaction.Contract.newBuilder().setType(contractType).setParameter(
818819
(message instanceof Any ? (Any) message : Any.pack(message))).build());

0 commit comments

Comments
 (0)