diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-10-23 14:23:50 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-10-24 05:06:21 +0800 |
commit | 4db33ba2b37f4682ecae5da325e631d546a8a24e (patch) | |
tree | c0453e856ee02a5d4538ee640a34cdb46861dc94 /packages/asset-buyer/src/order_providers | |
parent | 37f87ab267c5eb10c70d7eb4d3eef01bf8ed7ac1 (diff) | |
download | dexon-0x-contracts-4db33ba2b37f4682ecae5da325e631d546a8a24e.tar.gz dexon-0x-contracts-4db33ba2b37f4682ecae5da325e631d546a8a24e.tar.zst dexon-0x-contracts-4db33ba2b37f4682ecae5da325e631d546a8a24e.zip |
feat(asset-buyer): update buyQuoteCalculator to match rounding behavior in contracts
Diffstat (limited to 'packages/asset-buyer/src/order_providers')
-rw-r--r-- | packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts b/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts index 91682b089..41fd1fb30 100644 --- a/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts +++ b/packages/asset-buyer/src/order_providers/standard_relayer_api_order_provider.ts @@ -30,7 +30,7 @@ export class StandardRelayerAPIOrderProvider implements OrderProvider { 'remainingTakerAssetAmount', order.takerAssetAmount, ); - const remainingFillableMakerAssetAmount = orderUtils.calculateRemainingMakerAssetAmount( + const remainingFillableMakerAssetAmount = orderUtils.getRemainingMakerAmount( order, remainingFillableTakerAssetAmount, ); |