3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-15 11:45:51 +00:00

Create context for TestWithWallet

This commit is contained in:
Carlos Lopez-Camey 2015-03-22 09:56:08 -06:00 committed by Mike Hearn
parent 48401a0af1
commit 4e6b544920

View File

@ -48,6 +48,7 @@ public class TestWithWallet {
public void setUp() throws Exception {
BriefLogFormatter.init();
Wallet.SendRequest.DEFAULT_FEE_PER_KB = Coin.ZERO;
Context ctx = new Context(params);
wallet = new Wallet(params);
myKey = wallet.currentReceiveKey();
myAddress = myKey.toAddress(params);