From f2bf688f8595e3bcd5691857ddcc4946fb6a43b8 Mon Sep 17 00:00:00 2001 From: eugene-shevchenko Date: Fri, 27 Mar 2015 22:30:24 +0200 Subject: [PATCH] Pending Transaction - save in external datasource context initialization fix --- ethereumj-core/src/main/java/org/ethereum/core/Wallet.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ethereumj-core/src/main/java/org/ethereum/core/Wallet.java b/ethereumj-core/src/main/java/org/ethereum/core/Wallet.java index 6adb7181..c16c50fe 100644 --- a/ethereumj-core/src/main/java/org/ethereum/core/Wallet.java +++ b/ethereumj-core/src/main/java/org/ethereum/core/Wallet.java @@ -12,6 +12,7 @@ import org.spongycastle.util.encoders.Hex; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationContext; +import org.springframework.context.annotation.DependsOn; import org.springframework.stereotype.Component; import org.w3c.dom.Attr; @@ -48,6 +49,7 @@ import javax.xml.transform.stream.StreamResult; * New accounts can be generated and added to the wallet and existing accounts can be queried. */ @Component +@DependsOn("worldManager") public class Wallet { private Logger logger = LoggerFactory.getLogger("wallet");