Skip to content

Commit bb19da3

Browse files
committed
Update TransactionExecutor interface in createCallTxAndExecute
1 parent e2b7631 commit bb19da3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/main/java/com/ethercamp/harmony/jsonrpc/EthJsonRpcImpl.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -597,9 +597,10 @@ protected TransactionReceipt createCallTxAndExecute(CallArguments args, Block bl
597597
}
598598

599599
try {
600-
TransactionExecutor executor = commonConfig.transactionExecutor
601-
(tx, block.getCoinbase(), repository, blockStore,
602-
programInvokeFactory, block, new EthereumListenerAdapter(), 0)
600+
TransactionExecutor executor = new TransactionExecutor(
601+
tx, block.getCoinbase(), repository, blockStore,
602+
programInvokeFactory, block, new EthereumListenerAdapter(), 0)
603+
.withCommonConfig(commonConfig)
603604
.setLocalCall(true);
604605

605606
executor.init();

0 commit comments

Comments
 (0)