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

* Allow the sendTransaction preflight commitment level to be configured

(cherry picked from commit b660704faa)

* rebase

Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
mergify[bot]
2020-08-22 16:41:25 +00:00
committed by GitHub
parent 08a789323f
commit 132550cd7a
6 changed files with 17 additions and 2 deletions

View File

@@ -494,6 +494,7 @@ mod test {
),
RpcSendTransactionConfig {
skip_preflight: true,
..RpcSendTransactionConfig::default()
},
)
.unwrap();
@@ -549,6 +550,7 @@ mod test {
),
RpcSendTransactionConfig {
skip_preflight: true,
..RpcSendTransactionConfig::default()
},
)
.unwrap();
@@ -594,6 +596,7 @@ mod test {
),
RpcSendTransactionConfig {
skip_preflight: true,
..RpcSendTransactionConfig::default()
},
)
.unwrap();
@@ -632,6 +635,7 @@ mod test {
),
RpcSendTransactionConfig {
skip_preflight: true,
..RpcSendTransactionConfig::default()
},
)
.unwrap();