Default preflight_commitment to confirmation commitment
This commit is contained in:
parent
afc1b59475
commit
c2f77a3473
|
@ -1264,7 +1264,10 @@ impl RpcClient {
|
|||
self.send_and_confirm_transaction_with_spinner_and_config(
|
||||
transaction,
|
||||
commitment,
|
||||
RpcSendTransactionConfig::default(),
|
||||
RpcSendTransactionConfig {
|
||||
preflight_commitment: Some(commitment.commitment),
|
||||
..RpcSendTransactionConfig::default()
|
||||
},
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue