fix quote => base swap test

This commit is contained in:
owen05
2020-11-10 23:14:02 +08:00
parent aadf5eb844
commit 897b2a4759
2 changed files with 22 additions and 7 deletions

View File

@@ -61,7 +61,7 @@ contract DVMFunding is DVMStorage {
_VAULT_.transferBaseOut(to, baseAmount);
_VAULT_.transferQuoteOut(to, quoteAmount);
_VAULT_.sync();
if (data.length > 0) IDODOCallee(to, shareAmount, baseAmount, quoteAmount, data);
if (data.length > 0) IDODOCallee(msg.sender).DVMSellShareCall(to, shareAmount, baseAmount, quoteAmount, data);
}
function retrieve(address to) external preventReentrant {