Function: rollbackSwapRequest(OrderInfo orderInfo)
This function rolls back the swap after it is maker-confirmed.
Inputs
orderInfoControl: Fully controlled by the caller.
Constraints: Must be a maker-confirmed order.
Impact: Specifies the order to roll back.
Branches and code coverage
Intended branches
Change the status of the order to pending.
Negative behavior
The caller is a taker.
Given order hash matches the actual hash.
Given order is requested by the caller.
Given order is maker-confirmed.
outByContractis false.