Skip to content

Commit 1359fd6

Browse files
authored
Merge branch 'master' into release_v4.8.1
2 parents 3d9eee7 + 25b35f5 commit 1359fd6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

framework/src/main/java/org/tron/core/db/Manager.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -881,6 +881,11 @@ public boolean pushTransaction(final TransactionCapsule trx)
881881
throw new ContractValidateException("ExchangeTransactionContract is rejected");
882882
}
883883

884+
if (isExchangeTransaction(trx.getInstance())) {
885+
throw new ContractValidateException("ExchangeTransactionContract is rejected");
886+
}
887+
888+
884889
pushTransactionQueue.add(trx);
885890
Metrics.gaugeInc(MetricKeys.Gauge.MANAGER_QUEUE, 1,
886891
MetricLabels.Gauge.QUEUE_QUEUED);

0 commit comments

Comments
 (0)