Skip to content

Commit

Permalink
pretty printing made some things hard, unfortunately
Browse files Browse the repository at this point in the history
  • Loading branch information
peerchemist committed Oct 12, 2018
1 parent 1feebc6 commit 49a1aed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pacli/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ def spawn(self, verify: bool=False, sign: bool=False,
)

if verify:
pprint(
{'url': cointoolkit_verify(spawn.hexlify())
}) # link to cointoolkit - verify
print(
cointoolkit_verify(spawn.hexlify())
) # link to cointoolkit - verify

if sign:

Expand All @@ -176,7 +176,7 @@ def spawn(self, verify: bool=False, sign: bool=False,
if send:
pprint({'txid': sendtx(tx)})

pprint({'hex': tx.hexlify()})
return {'hex': tx.hexlify()}

return spawn.hexlify()

Expand Down

0 comments on commit 49a1aed

Please sign in to comment.