forked from Qortal/qortal
Route through new getAddressTransactions() wrapper.
This commit is contained in:
parent
3ae2f0086e
commit
58a690e2c3
@ -420,7 +420,7 @@ public abstract class Bitcoiny implements ForeignBlockchain {
|
|||||||
byte[] script = ScriptBuilder.createOutputScript(address).getProgram();
|
byte[] script = ScriptBuilder.createOutputScript(address).getProgram();
|
||||||
|
|
||||||
// Ask for transaction history - if it's empty then key has never been used
|
// 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()) {
|
if (!historicTransactionHashes.isEmpty()) {
|
||||||
areAllKeysUnused = false;
|
areAllKeysUnused = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user