Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Commit

Permalink
flip bool the right way
Browse files Browse the repository at this point in the history
  • Loading branch information
justinfrevert committed Oct 9, 2023
1 parent f4f385e commit bc7a990
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
40 changes: 20 additions & 20 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/client/rpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ where
BroadcastedTransaction::Declare(BroadcastedDeclareTransaction::V1(tx_v1)) => !tx_v1.is_query,
BroadcastedTransaction::Declare(BroadcastedDeclareTransaction::V2(tx_v2)) => !tx_v2.is_query,
// Temporarily disabling to enable deploy account with starknet.rs
BroadcastedTransaction::DeployAccount(deploy_tx) => true,
BroadcastedTransaction::DeployAccount(deploy_tx) => false,
});
if is_invalid_query_transaction {
return Err(StarknetRpcApiError::UnsupportedTxVersion.into());
Expand Down

0 comments on commit bc7a990

Please sign in to comment.