Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
fix invalid action names #149
Browse files Browse the repository at this point in the history
  • Loading branch information
bytemaster committed Aug 10, 2017
1 parent ce52012 commit 0d661e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions contracts/exchange/exchange.abi
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@
"action": "sell",
"type": "SellOrder"
},{
"action": "cancel_buy",
"action": "cancelbuy",
"type": "OrderID"
},{
"action": "cancel_sell",
"action": "cancelsell",
"type": "OrderID"
}
],
Expand Down
4 changes: 2 additions & 2 deletions contracts/exchange/exchange.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -307,10 +307,10 @@ extern "C" {
case N(sell):
apply_exchange_sell( currentMessage<exchange::SellOrder>() );
break;
case N(cancel_buy):
case N(cancelbuy):
apply_exchange_cancel_buy( currentMessage<exchange::OrderID>() );
break;
case N(cancel_sell):
case N(cancelsell):
apply_exchange_cancel_sell( currentMessage<exchange::OrderID>() );
break;
default:
Expand Down

0 comments on commit 0d661e1

Please sign in to comment.