Skip to content

Commit

Permalink
Tests should pass now
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Manning committed Oct 31, 2017
1 parent 13c9c1c commit b55cef5
Show file tree
Hide file tree
Showing 3 changed files with 160 additions and 168 deletions.
6 changes: 3 additions & 3 deletions ContractExamples/FStarCompatibility.fs
Original file line number Diff line number Diff line change
Expand Up @@ -295,12 +295,12 @@ let convertInput : ContractFunctionInput -> inputMsg =

let private convertResult (txSkeleton:result<transactionSkeleton>) : ContractResult =
match txSkeleton with
| result.E exp -> //TODO
| result.EX exp -> //TODO
""
|> System.NotImplementedException
|> raise
| result.Err msg -> Error msg
| result.V txSkeleton ->
| result.ERR msg -> Error msg
| result.OK txSkeleton ->
match txSkeleton with
| Tx (_, outpoints, _, outputs, _) ->
let convertList f list = List.map f (vectorToList list)
Expand Down
Loading

0 comments on commit b55cef5

Please sign in to comment.