Skip to content

Commit 64c2fdb

Browse files
author
wangzihe
committed
Change the proposal switch on
1 parent 606bff0 commit 64c2fdb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/java/stest/tron/wallet/precondition/StressPrecondition.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,12 @@ public void test1CreateProposal() {
164164
logger.info("24 value is " + getChainParameters.get().getChainParameter(24).getValue());
165165
proposalMap.put(24L, 1L);
166166
}
167-
/* if (getChainParameters.get().getChainParameter(32).getValue() == 0L) {
167+
if (getChainParameters.get().getChainParameter(32).getValue() == 0L) {
168168
proposalMap.put(28L, 1L);
169169
}
170170
if (getChainParameters.get().getChainParameter(31).getValue() == 0L) {
171171
proposalMap.put(29L, 1L);
172-
}*/
172+
}
173173

174174
if (proposalMap.size() >= 1) {
175175

@@ -194,7 +194,7 @@ public void test1CreateProposal() {
194194
PublicMethed.waitProduceNextBlock(blockingStubFull);
195195
PublicMethed.approveProposal(witness005Address, witnessKey005, proposalId,
196196
true, blockingStubFull);
197-
waitProposalApprove(22,blockingStubFull);
197+
waitProposalApprove(32,blockingStubFull);
198198
}
199199
}
200200

0 commit comments

Comments
 (0)