-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Labels
good first issueA good issue for first-time contributorsA good issue for first-time contributorshelp wanted
Description
Let me quickly describe what issue I faced yesterday:
I wanted to dump some intermediate results, in particular of listUnspent
, which returns a List
of UnspentOutputs
.
The change was basically:
@@ -166,2 +166,3 @@ class SendToOwnersReorgSpec extends BaseReorgSpec {
when: "creating a third STO transaction"
+ println listUnspent(0, 999999)
def thirdTxid = omniSendSTO(actorAddress, tokenID, 50.divisible)
However, the result:
[com.msgilligan.bitcoinj.json.pojo.UnspentOutput@3a13055a, ...]
It would be nice, if the UnspentOutput
(and others) would be converted to something readable, such as:
[{"txid":"hex","vout":n,"address":"1base58",...}, ...]
The Groovy @ToString()
class annotation may be useful?
Metadata
Metadata
Assignees
Labels
good first issueA good issue for first-time contributorsA good issue for first-time contributorshelp wanted