Skip to content

Commit cbbf6b4

Browse files
authored
Fix a bug in the last PR (#776)
1 parent 7c04a87 commit cbbf6b4

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ allprojects {
5252
}
5353

5454
group = "exchange.dydx.abacus"
55-
version = "1.13.49"
55+
version = "1.13.50"
5656

5757
repositories {
5858
google()

src/commonMain/kotlin/exchange.dydx.abacus/output/Market.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -985,6 +985,7 @@ data class PerpetualMarketSummary(
985985
marketCaps = price.market_cap,
986986
priceChange24H = price.percent_change_24h,
987987
priceChange24HPercent = price.percent_change_24h,
988+
spot24hVolume = price.volume_24h,
988989
status = MarketStatus(
989990
canTrade = false,
990991
canReduce = false,

src/commonMain/kotlin/exchange.dydx.abacus/processor/markets/MarketProcessor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ internal class MarketProcessor(
225225
priceChange24H = parser.asDouble(payload.priceChange24H),
226226
oraclePrice = oraclePrice,
227227
),
228-
spot24hVolume = parser.asDouble(payload.volume24H),
228+
spot24hVolume = null,
229229
status = status,
230230
configs = createConfigs(payload),
231231
perpetual = createMarketPerpetual(

src/commonTest/kotlin/exchange.dydx.abacus/processor/markets/MarketProcessorTests.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class MarketProcessorTests {
6868
marketCaps = null,
6969
priceChange24H = 138.180620,
7070
priceChange24HPercent = 0.006957097804400636,
71-
spot24hVolume = 4.245227823171E8,
71+
spot24hVolume = null,
7272
status = MarketStatus(
7373
canTrade = true,
7474
canReduce = true,

v4_abacus.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |spec|
22
spec.name = 'v4_abacus'
3-
spec.version = '1.13.49'
3+
spec.version = '1.13.50'
44
spec.homepage = 'https://github.com/dydxprotocol/v4-abacus'
55
spec.source = { :http=> ''}
66
spec.authors = ''

0 commit comments

Comments
 (0)