Skip to content

Commit

Permalink
reference input witness count fix
Browse files Browse the repository at this point in the history
  • Loading branch information
paweljakubas committed Sep 14, 2023
1 parent a31fa73 commit f9d6853
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/wallet/src/Cardano/Wallet/Write/Tx/Sign.hs
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ estimateKeyWitnessCount utxo txbody@(Cardano.TxBody txbodycontent) =
txRefInpsWit =
case Cardano.txInsReference txbodycontent of
Cardano.TxInsReferenceNone -> 0
Cardano.TxInsReference _ [] -> 0
Cardano.TxInsReference _ _ -> 1
nonInputWits = numberOfShelleyWitnesses $ fromIntegral $
length txExtraKeyWits' +
Expand Down

0 comments on commit f9d6853

Please sign in to comment.