Skip to content

Commit

Permalink
Mark trade as invalid internally
Browse files Browse the repository at this point in the history
  • Loading branch information
coinop-logan committed Aug 15, 2019
1 parent ce023e9 commit 55aafc2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@

<body>
<div id='elm'></div>
<script type="text/javascript" src="/DAIHard/static/js/main-b2b413098bd26a0c0948.js"></script></body>
<script type="text/javascript" src="/DAIHard/static/js/main-eba4ac68919b2838e7f6.js"></script></body>

</html>
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@

<body>
<div id='elm'></div>
<script type="text/javascript" src="/DAIHard/static/js/main-b2b413098bd26a0c0948.js"></script></body>
<script type="text/javascript" src="/DAIHard/static/js/main-eba4ac68919b2838e7f6.js"></script></body>

</html>

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion src/Trade/State.elm
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,9 @@ update msg prevModel =

else
UpdateResult
prevModel
{ prevModel
| trade = CTypes.Invalid
}
Cmd.none
ChainCmd.none
[ AppCmd.UserNotice UN.tradeParametersNotDefault ]
Expand Down

0 comments on commit 55aafc2

Please sign in to comment.