Skip to content

Commit cb03339

Browse files
modify ContractTrcToken077
1 parent 3350cb7 commit cb03339

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/java/stest/tron/wallet/dailybuild/trctoken/ContractTrcToken077.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,18 +130,17 @@ public void testAddress002() {
130130
.deployContractAndGetTransactionInfoById(contractName, abi, code, "", maxFeeLimit,
131131
0L, 100, null, testKeyForGrammarAddress,
132132
grammarAddress, blockingStubFull);
133+
PublicMethed.waitProduceNextBlock(blockingStubFull);
133134
Optional<TransactionInfo> deployById = PublicMethed
134135
.getTransactionInfoById(deploytxid, blockingStubFull);
135136
contractAddress = deployById.get().getContractAddress().toByteArray();
136137
logger.info("infoById:" + deployById);
137-
PublicMethed.waitProduceNextBlock(blockingStubFull);
138138

139139
String txid = "";
140140
txid = PublicMethed.triggerContract(contractAddress,
141141
"addressTest()", "#", false,
142142
0, maxFeeLimit, grammarAddress, testKeyForGrammarAddress, blockingStubFull);
143143
PublicMethed.waitProduceNextBlock(blockingStubFull);
144-
PublicMethed.waitProduceNextBlock(blockingStubFull);
145144

146145
Optional<TransactionInfo> infoById = null;
147146
infoById = PublicMethed.getTransactionInfoById(txid, blockingStubFull);

0 commit comments

Comments
 (0)