RPC: Allow the sendTransaction preflight commitment level to be configured (bp #11792) (#11793)

* Allow the sendTransaction preflight commitment level to be configured

(cherry picked from commit b660704faa)

# Conflicts:
#	cli/src/cli.rs
#	core/src/rpc.rs

* rebase

Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
mergify[bot]
2020-08-22 17:00:49 +00:00
committed by GitHub
parent 973b00debb
commit 99a01abfd7
6 changed files with 15 additions and 2 deletions

View File

@@ -35,6 +35,7 @@ impl Client for RpcClient {
&transaction,
RpcSendTransactionConfig {
skip_preflight: true,
..RpcSendTransactionConfig::default()
},
)
.map_err(|e| TransportError::Custom(e.to_string()))