mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-24 14:50:57 +01:00
Wallet: Fix infinite recursion, causing StackOverflowError in deprecated version of Wallet.toString(boolean, boolean, boolean, AbstractBlockChain) method.
This commit is contained in:
parent
0ede3c7367
commit
4d0f15dc2e
1 changed files with 2 additions and 2 deletions
|
@ -3226,14 +3226,14 @@ public class Wallet extends BaseTaggableObject
|
|||
@Deprecated
|
||||
public String toString(boolean includePrivateKeys, boolean includeTransactions, boolean includeExtensions,
|
||||
@Nullable AbstractBlockChain chain) {
|
||||
return toString(includePrivateKeys, includeTransactions, includeExtensions, chain);
|
||||
return toString(includePrivateKeys, null, includeTransactions, includeExtensions, chain);
|
||||
}
|
||||
|
||||
/**
|
||||
* Formats the wallet as a human readable piece of text. Intended for debugging, the format is not meant to be
|
||||
* stable or human readable.
|
||||
* @param includePrivateKeys Whether raw private key data should be included.
|
||||
* @param key for decrypting private key data for if the wallet is encrypted.
|
||||
* @param aesKey for decrypting private key data for if the wallet is encrypted.
|
||||
* @param includeTransactions Whether to print transaction data.
|
||||
* @param includeExtensions Whether to print extension data.
|
||||
* @param chain If set, will be used to estimate lock times for block timelocked transactions.
|
||||
|
|
Loading…
Add table
Reference in a new issue