[asset-swapper] Change Exchange sell to marketSellOrdersFillOrKill (#2450)
* Change Exchange sell to marketSellOrdersFillOrKill * Update Changelog
This commit is contained in:
parent
ce04d3ce41
commit
e436673304
@ -21,6 +21,10 @@
|
|||||||
{
|
{
|
||||||
"note": "Compute more accurate best quote price",
|
"note": "Compute more accurate best quote price",
|
||||||
"pr": 2427
|
"pr": 2427
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"note": "Change Exchange sell function from `marketSellOrdersNoThrow` to `marketSellOrdersFillOrKill`",
|
||||||
|
"pr": 2450
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -51,7 +51,7 @@ export class ExchangeSwapQuoteConsumer implements SwapQuoteConsumerBase {
|
|||||||
.getABIEncodedTransactionData();
|
.getABIEncodedTransactionData();
|
||||||
} else {
|
} else {
|
||||||
calldataHexString = this._exchangeContract
|
calldataHexString = this._exchangeContract
|
||||||
.marketSellOrdersNoThrow(orders, quote.takerAssetFillAmount, signatures)
|
.marketSellOrdersFillOrKill(orders, quote.takerAssetFillAmount, signatures)
|
||||||
.getABIEncodedTransactionData();
|
.getABIEncodedTransactionData();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user