diff options
author | zkao <zichongkao@gmail.com> | 2018-12-15 04:15:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-15 04:15:35 +0800 |
commit | 6d45beccad44e86ddd692d0cf54c09c29c5d9daf (patch) | |
tree | 66ef5002e7d407f891d991fcb6cbd10ddb9ee5c9 /packages/pipeline/test/parsers/oasis_orders | |
parent | 1efde6f59b976a074ba2ea15be867400b21dd68b (diff) | |
download | dexon-sol-tools-6d45beccad44e86ddd692d0cf54c09c29c5d9daf.tar dexon-sol-tools-6d45beccad44e86ddd692d0cf54c09c29c5d9daf.tar.gz dexon-sol-tools-6d45beccad44e86ddd692d0cf54c09c29c5d9daf.tar.bz2 dexon-sol-tools-6d45beccad44e86ddd692d0cf54c09c29c5d9daf.tar.lz dexon-sol-tools-6d45beccad44e86ddd692d0cf54c09c29c5d9daf.tar.xz dexon-sol-tools-6d45beccad44e86ddd692d0cf54c09c29c5d9daf.tar.zst dexon-sol-tools-6d45beccad44e86ddd692d0cf54c09c29c5d9daf.zip |
Fix dex order quote/base asset assigning (#1432)
Diffstat (limited to 'packages/pipeline/test/parsers/oasis_orders')
-rw-r--r-- | packages/pipeline/test/parsers/oasis_orders/index_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/pipeline/test/parsers/oasis_orders/index_test.ts b/packages/pipeline/test/parsers/oasis_orders/index_test.ts index 9e8ba9a40..433bfb665 100644 --- a/packages/pipeline/test/parsers/oasis_orders/index_test.ts +++ b/packages/pipeline/test/parsers/oasis_orders/index_test.ts @@ -37,10 +37,10 @@ describe('oasis_orders', () => { expected.price = new BigNumber(0.5); expected.baseAssetSymbol = 'DEF'; expected.baseAssetAddress = null; - expected.baseVolume = new BigNumber(5); + expected.baseVolume = new BigNumber(10); expected.quoteAssetSymbol = 'ABC'; expected.quoteAssetAddress = null; - expected.quoteVolume = new BigNumber(10); + expected.quoteVolume = new BigNumber(5); const actual = parseOasisOrder(oasisMarket, observedTimestamp, orderType, source, oasisOrder); expect(actual).deep.equal(expected); |