DeterministicKeyChain: In toString(), print lookahead size and threshold.

This commit is contained in:
Andreas Schildbach
2019-02-19 11:19:19 +01:00
parent d7d6c3de09
commit 2502847dfd

View File

@@ -1392,6 +1392,7 @@ public class DeterministicKeyChain implements EncryptableKeyChain {
builder.append("Ouput script type: ").append(outputScriptType).append('\n');
builder.append("Key to watch: ").append(watchingKey.serializePubB58(params, outputScriptType))
.append('\n');
builder.append("Lookahead siz/thr: ").append(lookaheadSize).append('/').append(lookaheadThreshold).append('\n');
formatAddresses(includePrivateKeys, aesKey, params, builder);
return builder.toString();
}