Skip to content

Commit be01e6f

Browse files
committed
fix the dup trans error.
1 parent 463326e commit be01e6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/tron/core/capsule/BlockCapsule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public BlockCapsule(long timestamp, ByteString parentHash, long number,
179179

180180
public void addTransaction(TransactionCapsule pendingTrx) {
181181
this.block = this.block.toBuilder().addTransactions(pendingTrx.getInstance()).build();
182-
getTransactions().add(pendingTrx);
182+
//getTransactions().add(pendingTrx);
183183
}
184184

185185
public List<TransactionCapsule> getTransactions() {

0 commit comments

Comments
 (0)