File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
cardano-api/test/cardano-api-test/Test/Cardano/Api Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -76,17 +76,17 @@ prop_mockInteractionWithNode =
7676 Left Shelley. AFPointTooOld -> fail " Error, point queried in the chain is too old!"
7777 Left Shelley. AFPointNotOnChain -> fail " Error, point queried is not on chain!"
7878
79- srcAddress <- case Api. deserialiseFromBech32
80- ( Api. AsAddress Api. AsShelleyAddr )
81- " addr_test1qp69sr2cw5dwftdpycvqaqkf6vz4jmms226ywvqwc99zm5a0w93czr7h5djdpvlh7edpm77yk20gzqp8dt559a64r9dqyq4r9y " of
82- Right addr -> return addr
83- Left err -> fail $ " Error deserialising source address: " ++ show err
84-
85- destAddress <- case Api. deserialiseFromBech32
86- ( Api. AsAddress Api. AsShelleyAddr )
87- " addr_test1qqc536zmzggkvkes4lf2jpjxw5g0488f656yqlwpuw0uu3fk9tjxma0kpssjkg2e9ltgrl0tvfqay0lr7k4qzdyqya3s6udgu7 " of
88- Right addr -> return addr
89- Left err -> fail $ " Error deserialising destination address: " ++ show err
79+ srcAddress <-
80+ H. leftFail $
81+ Api. deserialiseFromBech32
82+ ( Api. AsAddress Api. AsShelleyAddr )
83+ " addr_test1qp69sr2cw5dwftdpycvqaqkf6vz4jmms226ywvqwc99zm5a0w93czr7h5djdpvlh7edpm77yk20gzqp8dt559a64r9dqyq4r9y "
84+
85+ destAddress <-
86+ H. leftFail $
87+ Api. deserialiseFromBech32
88+ ( Api. AsAddress Api. AsShelleyAddr )
89+ " addr_test1qqc536zmzggkvkes4lf2jpjxw5g0488f656yqlwpuw0uu3fk9tjxma0kpssjkg2e9ltgrl0tvfqay0lr7k4qzdyqya3s6udgu7 "
9090
9191 -- We make a query to obtain the UTxOs for the given address
9292 eUtxo <-
You can’t perform that action at this time.
0 commit comments