Skip to content

Commit

Permalink
<fix>(integration): fix TransactionManagerPayableTest bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
kyonRay committed Jan 26, 2024
1 parent 46b2437 commit 67a3490
Showing 1 changed file with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,15 @@ public void test1ComplexCodecWithType() throws Exception {
BalanceService balanceService =
new BalanceService(client, client.getCryptoSuite().getCryptoKeyPair());

SystemConfig balanceFeature =
client.getSystemConfigByKey(
SystemConfigFeature.Features.FEATURE_BALANCE.toString());
if (!"1".equals(balanceFeature.getSystemConfig().getValue())) {
try {
SystemConfig balanceFeature =
client.getSystemConfigByKey(
SystemConfigFeature.Features.FEATURE_BALANCE.toString());
if (!"1".equals(balanceFeature.getSystemConfig().getValue())) {
return;
}
} catch (Exception e) {
System.out.println("getSystemConfigByKey error, skip.");
return;
}

Expand Down

0 comments on commit 67a3490

Please sign in to comment.