mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-15 19:55:51 +00:00
Create context for TestWithWallet
This commit is contained in:
parent
48401a0af1
commit
4e6b544920
@ -48,6 +48,7 @@ public class TestWithWallet {
|
|||||||
public void setUp() throws Exception {
|
public void setUp() throws Exception {
|
||||||
BriefLogFormatter.init();
|
BriefLogFormatter.init();
|
||||||
Wallet.SendRequest.DEFAULT_FEE_PER_KB = Coin.ZERO;
|
Wallet.SendRequest.DEFAULT_FEE_PER_KB = Coin.ZERO;
|
||||||
|
Context ctx = new Context(params);
|
||||||
wallet = new Wallet(params);
|
wallet = new Wallet(params);
|
||||||
myKey = wallet.currentReceiveKey();
|
myKey = wallet.currentReceiveKey();
|
||||||
myAddress = myKey.toAddress(params);
|
myAddress = myKey.toAddress(params);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user