Skip to content

Commit

Permalink
fixing imports
Browse files Browse the repository at this point in the history
  • Loading branch information
peerchemist committed Jul 19, 2018
1 parent 7013236 commit 97a158c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pacli/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
import pypeerassets as pa
from pypeerassets.pautils import (amount_to_exponent,
exponent_to_amount,
parse_card_transfer_metainfo
parse_card_transfer_metainfo,
parse_deckspawn_metainfo
)
from pypeerassets.transactions import sign_transaction
from pacli.provider import provider
Expand Down Expand Up @@ -160,7 +161,8 @@ def decode(self, hex: str) -> dict:

script = NulldataScript.unhexlify(hex).decompile().split(' ')[1]

return pa.pautils.parse_deckspawn_metainfo(bytes.fromhex(script), Settings.deck_version)
return parse_deckspawn_metainfo(bytes.fromhex(script),
Settings.deck_version)

def issue_modes(self):

Expand Down

0 comments on commit 97a158c

Please sign in to comment.