Skip to content

Commit 6ff1a4d

Browse files
tests: update AuthenticationGroupExtensionTest to use rescanWallet instead of reset
Signed-off-by: HashEngineering <hashengineeringsolutions@gmail.com>
1 parent 72c2775 commit 6ff1a4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/test/java/org/bitcoinj/wallet/authentication/AuthenticationGroupExtensionTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,9 @@ public void loadWallet() throws IOException, UnreadableWalletException {
228228
// make sure this wallet has an authenticationGroupExtension
229229
assertTrue(wallet.getKeyChainExtensions().containsKey(AuthenticationGroupExtension.EXTENSION_ID));
230230

231-
// check that reset() preserves the usage count
231+
// check that rescanWallet() preserves the usage count
232232
int usageBefore = authenticationGroupExtension.getKeyUsage().size();
233-
authenticationGroupExtension.reset();
233+
authenticationGroupExtension.rescanWallet();
234234
int usageAfter = authenticationGroupExtension.getKeyUsage().size();
235235
assertEquals(usageBefore, usageAfter);
236236
}

0 commit comments

Comments
 (0)