diff --git a/contracts/exchange/exchange.abi b/contracts/exchange/exchange.abi index 313d8e2c5ec..df78e51ab68 100644 --- a/contracts/exchange/exchange.abi +++ b/contracts/exchange/exchange.abi @@ -55,10 +55,10 @@ "action": "sell", "type": "SellOrder" },{ - "action": "cancel_buy", + "action": "cancelbuy", "type": "OrderID" },{ - "action": "cancel_sell", + "action": "cancelsell", "type": "OrderID" } ], diff --git a/contracts/exchange/exchange.cpp b/contracts/exchange/exchange.cpp index d2377b57342..bb797af9d6f 100644 --- a/contracts/exchange/exchange.cpp +++ b/contracts/exchange/exchange.cpp @@ -307,10 +307,10 @@ extern "C" { case N(sell): apply_exchange_sell( currentMessage() ); break; - case N(cancel_buy): + case N(cancelbuy): apply_exchange_cancel_buy( currentMessage() ); break; - case N(cancel_sell): + case N(cancelsell): apply_exchange_cancel_sell( currentMessage() ); break; default: