Route through new getAddressTransactions() wrapper.

This commit is contained in:
CalDescent 2022-02-11 18:15:27 +00:00
parent 3ae2f0086e
commit 58a690e2c3

View File

@ -420,7 +420,7 @@ public abstract class Bitcoiny implements ForeignBlockchain {
byte[] script = ScriptBuilder.createOutputScript(address).getProgram();
// Ask for transaction history - if it's empty then key has never been used
List<TransactionHash> historicTransactionHashes = this.blockchain.getAddressTransactions(script, false);
List<TransactionHash> historicTransactionHashes = this.getAddressTransactions(script, false);
if (!historicTransactionHashes.isEmpty()) {
areAllKeysUnused = false;