Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Soupstraw committed Nov 12, 2024
1 parent 8efbcad commit aead33b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ledger/hs-src/test/UtxowSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ initEnv :: UTxOEnv
initEnv = MkUTxOEnv {ueSlot = 0, uePparams = initParams, ueTreasury = 0}

baseAddr :: Integer -> Addr
baseAddr n = Left BaseAddr{baseNet = 0, basePay = KeyHashObj n, baseStake = KeyHashObj n}
baseAddr n = Left BaseAddr{baseNet = 0, basePay = KeyHashObj n, baseStake = Just (KeyHashObj n)}

a0 :: Addr
a0 = baseAddr 0
Expand Down

0 comments on commit aead33b

Please sign in to comment.