Get the current policy
(&self)
| 218 | |
| 219 | /// Get the current policy |
| 220 | pub async fn policy(&self) -> ConfirmationPolicy { |
| 221 | self.policy.read().await.clone() |
| 222 | } |
| 223 | |
| 224 | /// Update the confirmation policy |
| 225 | pub async fn set_policy(&self, policy: ConfirmationPolicy) { |
no test coverage detected