Skip to content

Commit 19ffbdd

Browse files
committed
fix: explicitly choose JsonBinaryEncoding::Base64 instead of default()
1 parent a8472d0 commit 19ffbdd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lazer/sdk/rust/client/examples/subscribe_price_feeds.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ async fn main() -> anyhow::Result<()> {
3838
],
3939
chains: vec![Chain::Solana],
4040
delivery_format: DeliveryFormat::Json,
41-
json_binary_encoding: JsonBinaryEncoding::default(),
41+
json_binary_encoding: JsonBinaryEncoding::Base64,
4242
parsed: true,
4343
channel: Channel::FixedRate(
4444
FixedRate::from_ms(200).expect("unsupported update rate"),
@@ -59,7 +59,7 @@ async fn main() -> anyhow::Result<()> {
5959
],
6060
chains: vec![Chain::Evm, Chain::Solana],
6161
delivery_format: DeliveryFormat::Binary,
62-
json_binary_encoding: JsonBinaryEncoding::default(),
62+
json_binary_encoding: JsonBinaryEncoding::Base64,
6363
parsed: false,
6464
channel: Channel::FixedRate(
6565
FixedRate::from_ms(50).expect("unsupported update rate"),

0 commit comments

Comments
 (0)