diff --git a/Cargo.lock b/Cargo.lock index 51598fc..488da9c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3239,7 +3239,7 @@ dependencies = [ [[package]] name = "solana-geyser-sqs" -version = "0.3.0+solana.1.16.17" +version = "0.3.1+solana.1.16.17" dependencies = [ "anyhow", "arrayref", diff --git a/Cargo.toml b/Cargo.toml index 30c62ad..17d331d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "solana-geyser-sqs" -version = "0.3.0+solana.1.16.17" +version = "0.3.1+solana.1.16.17" edition = "2018" publish = false diff --git a/src/sqs.rs b/src/sqs.rs index d221c19..ad3db2d 100644 --- a/src/sqs.rs +++ b/src/sqs.rs @@ -274,7 +274,7 @@ impl SendMessage { "owner": account.owner.to_string(), "executable": account.executable, "rent_epoch": account.rent_epoch, - "data": general_purpose::STANDARD_NO_PAD.encode(compression.compress(&account.data)?.as_ref()), + "data": general_purpose::STANDARD.encode(compression.compress(&account.data)?.as_ref()), "write_version": account.write_version, "txn_signature": account.txn_signature.map(|s| s.to_string()).unwrap_or_default(), "slot": account.slot, @@ -288,7 +288,7 @@ impl SendMessage { "type": "transaction", "filters": filters, "signature": transaction.signature.to_string(), - "transaction": general_purpose::STANDARD_NO_PAD.encode(bincode::serialize(&transaction.transaction.to_versioned_transaction()).unwrap()), + "transaction": general_purpose::STANDARD.encode(bincode::serialize(&transaction.transaction.to_versioned_transaction()).unwrap()), "meta": transaction.meta, "slot": transaction.slot, "block_time": transaction.block_time.unwrap_or_default(),