Skip to content

Commit

Permalink
fixup! Rework liquidity-ads purchase database storage
Browse files Browse the repository at this point in the history
  • Loading branch information
pm47 committed Sep 27, 2024
1 parent 9f52516 commit f713508
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,6 @@ sealed class PurchaseData {
}
}

fun LiquidityAds.Purchase.encodeAsDb(): ByteArray = Json.encodeToString(this.asDb()).toByteArray(Charsets.UTF_8)
fun LiquidityAds.Purchase.encodeAsDb(): ByteArray = Json.encodeToString(this.asDb()).encodeToByteArray()
}
}

0 comments on commit f713508

Please sign in to comment.