From a8c9a33d6a863384fb41c35c4d46d2afa7464380 Mon Sep 17 00:00:00 2001 From: Andreas Schildbach Date: Wed, 28 Feb 2018 01:35:24 +0100 Subject: [PATCH] PaymentSessionTest: Fix missing context. --- .../java/org/bitcoinj/protocols/payments/PaymentSessionTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/test/java/org/bitcoinj/protocols/payments/PaymentSessionTest.java b/core/src/test/java/org/bitcoinj/protocols/payments/PaymentSessionTest.java index 51ec0416..9e85565f 100644 --- a/core/src/test/java/org/bitcoinj/protocols/payments/PaymentSessionTest.java +++ b/core/src/test/java/org/bitcoinj/protocols/payments/PaymentSessionTest.java @@ -52,6 +52,7 @@ public class PaymentSessionTest { @Before public void setUp() throws Exception { + new Context(TESTNET); serverKey = new ECKey(); tx = new Transaction(TESTNET); outputToMe = new TransactionOutput(TESTNET, tx, coin, serverKey);