Skip to content

Commit

Permalink
unpack the TxId in the TxIn
Browse files Browse the repository at this point in the history
Co-authored-by: Duncan Coutts <[email protected]>
  • Loading branch information
Jared Corduan and dcoutts authored Jul 15, 2020
1 parent 6aeb5a8 commit 1af62c8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ deriving newtype instance Crypto crypto => ToCBOR (TxId crypto)
deriving newtype instance Crypto crypto => FromCBOR (TxId crypto)

-- | The input of a UTxO.
data TxIn crypto = TxInCompact !(TxId crypto) {-# UNPACK #-} !Word64
data TxIn crypto = TxInCompact {-# UNPACK #-} !(TxId crypto) {-# UNPACK #-} !Word64
deriving (Show, Eq, Generic, Ord, NFData)

-- TODO: We will also want to have the TxId be compact, but the representation
Expand Down

0 comments on commit 1af62c8

Please sign in to comment.