mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-14 19:25:51 +00:00
Transaction: In toString(), move purpose up.
This commit is contained in:
parent
0317c192e5
commit
214e835233
@ -767,6 +767,8 @@ public class Transaction extends ChildMessage {
|
||||
if (isOptInFullRBF()) {
|
||||
s.append(indent).append("opts into full replace-by-fee\n");
|
||||
}
|
||||
if (purpose != null)
|
||||
s.append(indent).append("purpose: ").append(purpose).append('\n');
|
||||
if (isCoinBase()) {
|
||||
String script;
|
||||
String script2;
|
||||
@ -859,8 +861,6 @@ public class Transaction extends ChildMessage {
|
||||
s.append(indent).append(" fee ").append(fee.multiply(1000).divide(size).toFriendlyString()).append("/kB, ")
|
||||
.append(fee.toFriendlyString()).append(" for ").append(size).append(" bytes\n");
|
||||
}
|
||||
if (purpose != null)
|
||||
s.append(indent).append(" prps ").append(purpose).append('\n');
|
||||
return s.toString();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user