Skip to content

Commit

Permalink
use commit ref for cardano-transactions and adjust mkByronWitness
Browse files Browse the repository at this point in the history
  • Loading branch information
paweljakubas committed Sep 21, 2020
1 parent f9661c8 commit 4dbd533
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2490,7 +2490,8 @@ spec = describe "SHELLEY_TRANSACTIONS" $ do
-> CardanoTransactions.SignKey CardanoTransactions.Shelley
unsafeMkByronSignKey str1 str2 =
let (Just addr) = fromBase58 str1
in fromJust $ CardanoTransactions.mkByronSignKey addr (unsafeB16 str2)
(Just addrAttr) = CardanoTransactions.mkAddrAttributes addr
in fromJust $ CardanoTransactions.mkByronSignKey addrAttr (unsafeB16 str2)

constructTxFromCardanoTransactions fee txid txix out1 addr1 out2 addr2 wit =
CardanoTransactions.empty (initTx fee)
Expand Down
5 changes: 2 additions & 3 deletions stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ packages:
- lib/test-utils
- lib/jormungandr
- lib/shelley
- ../cardano-transactions

extra-deps:
# Miscellaneous
Expand Down Expand Up @@ -54,8 +53,8 @@ extra-deps:

# Not strictly a dependency at present, but building it here to get
# access to the cardano-tx cli.
#- git: https://github.com/input-output-hk/cardano-transactions
# commit: a68107c1682c3fd119c7e83f5adcbba2c37e1744
- git: https://github.com/input-output-hk/cardano-transactions
commit: db40318bbccbfb40b15e541433402fd81a1ec4e5

flags:
# Avoid a system library which causes difficulty with cross-compilation
Expand Down

0 comments on commit 4dbd533

Please sign in to comment.