Pending Transaction - save in external datasource

context initialization fix
This commit is contained in:
eugene-shevchenko 2015-03-27 22:30:24 +02:00
parent 52d9d19a18
commit f2bf688f85
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ import org.spongycastle.util.encoders.Hex;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.DependsOn;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import org.w3c.dom.Attr; 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. * New accounts can be generated and added to the wallet and existing accounts can be queried.
*/ */
@Component @Component
@DependsOn("worldManager")
public class Wallet { public class Wallet {
private Logger logger = LoggerFactory.getLogger("wallet"); private Logger logger = LoggerFactory.getLogger("wallet");