OSDN Git Service

recover code
authorshenao78 <shenao.78@163.com>
Mon, 20 Jul 2020 07:13:18 +0000 (15:13 +0800)
committershenao78 <shenao.78@163.com>
Mon, 20 Jul 2020 07:13:18 +0000 (15:13 +0800)
application/mov/mov_core.go

index d7dc2df..3ada693 100644 (file)
@@ -331,7 +331,7 @@ func validateMatchedTxFee(tx *types.Tx, blockHeight uint64) error {
                return err
        }
 
-       receivedAmount, priceDiffs := match.CalcReceivedAmount(orders)
+       receivedAmount, _ := match.CalcReceivedAmount(orders)
        feeAmounts := make(map[bc.AssetID]uint64)
        for assetID, fee := range matchedTxFees {
                feeAmounts[assetID] = fee.amount