mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-19 05:35:49 +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()) {
|
if (isOptInFullRBF()) {
|
||||||
s.append(indent).append("opts into full replace-by-fee\n");
|
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()) {
|
if (isCoinBase()) {
|
||||||
String script;
|
String script;
|
||||||
String script2;
|
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, ")
|
s.append(indent).append(" fee ").append(fee.multiply(1000).divide(size).toFriendlyString()).append("/kB, ")
|
||||||
.append(fee.toFriendlyString()).append(" for ").append(size).append(" bytes\n");
|
.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();
|
return s.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user