Skip to content

Commit 4bf108a

Browse files
committed
add @lazy for tronJsonRpcImpl in Manager
1 parent a209e45 commit 4bf108a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
import org.apache.commons.collections4.CollectionUtils;
4949
import org.bouncycastle.util.encoders.Hex;
5050
import org.springframework.beans.factory.annotation.Autowired;
51+
import org.springframework.context.annotation.Lazy;
5152
import org.springframework.stereotype.Component;
5253
import org.tron.api.GrpcAPI;
5354
import org.tron.api.GrpcAPI.TransactionInfoList;
@@ -277,6 +278,7 @@ public class Manager {
277278
@Autowired
278279
private RewardViCalService rewardViCalService;
279280

281+
@Lazy
280282
@Autowired
281283
private TronJsonRpcImpl tronJsonRpcImpl;
282284

0 commit comments

Comments
 (0)