mirror of
https://github.com/Qortal/qortal.git
synced 2025-07-23 04:36:50 +00:00
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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user