Allow the sendTransaction preflight commitment level to be configured

This commit is contained in:
Michael Vines
2020-08-21 20:22:14 -07:00
parent 4bd0ced87d
commit b660704faa
5 changed files with 16 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();