ParseByteCacheTest: fix context not initialized

This commit is contained in:
Andreas Schildbach 2022-07-31 23:37:54 +02:00
parent 4f150bbe96
commit e73d876be6

View File

@ -90,6 +90,7 @@ public class ParseByteCacheTest {
@Before
public void setUp() throws Exception {
Utils.setMockClock(); // Use mock clock
Context.propagate(new Context());
Wallet wallet = Wallet.createDeterministic(UNITTEST, ScriptType.P2PKH);
wallet.freshReceiveKey();