Added Core API endpoint to repair LTC wallets generated before 2024 by moving all the address balances to the first address.

This commit is contained in:
kennycud
2023-12-28 14:15:57 -08:00
parent aaba6bf4cf
commit 21796341f2
11 changed files with 323 additions and 204 deletions

View File

@@ -99,6 +99,14 @@ public abstract class BitcoinyTests extends Common {
transaction = bitcoiny.buildSpend(xprv58, recipient, amount);
assertNotNull(transaction);
}
@Test
public void testRepair() throws ForeignBlockchainException {
String xprv58 = getDeterministicKey58();
String transaction = bitcoiny.repairOldWallet(xprv58);
assertNotNull(transaction);
}
@Test
public void testGetWalletBalance() throws ForeignBlockchainException {