mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-14 11:15:51 +00:00
ECKey: Clearly mark a key as uncompressed in toString().
This commit is contained in:
parent
3403fc52c6
commit
4c60984e14
@ -1292,6 +1292,8 @@ public class ECKey implements EncryptableItem {
|
||||
final Address address = LegacyAddress.fromKey(params, this);
|
||||
builder.append(" addr:");
|
||||
builder.append(address.toString());
|
||||
if (!isCompressed())
|
||||
builder.append(" UNCOMPRESSED");
|
||||
builder.append(" hash160:");
|
||||
builder.append(Utils.HEX.encode(getPubKeyHash()));
|
||||
if (creationTimeSeconds > 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user