mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-03-13 11:36:15 +01:00
Merge branch 'master' of https://code.google.com/p/bitcoinj
Conflicts: src/com/google/bitcoin/core/Transaction.java
This commit is contained in:
commit
03db1a9636
1 changed files with 7 additions and 0 deletions
|
@ -518,6 +518,13 @@ public class Transaction extends ChildMessage implements Serializable {
|
|||
s.append(" ");
|
||||
s.append(bitcoinValueToFriendlyString(out.getValue()));
|
||||
s.append(" BTC");
|
||||
if (!out.isAvailableForSpending()) {
|
||||
s.append(" Spent");
|
||||
}
|
||||
if (out.getSpentBy() != null) {
|
||||
s.append(" by ");
|
||||
s.append(out.getSpentBy().getParentTransaction().getHashAsString());
|
||||
}
|
||||
} catch (Exception e) {
|
||||
s.append("[exception: ").append(e.getMessage()).append("]");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue