We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 589fe9b commit 397fcaeCopy full SHA for 397fcae
examples/contract/mod.rs
@@ -75,7 +75,7 @@ impl ContractHelper {
75
let record = tx
76
.execute(client)
77
.await?
78
- .valdiate_status(false)
+ .validate_status(false)
79
.get_record(client)
80
.await?;
81
src/transaction_response.rs
@@ -59,7 +59,7 @@ pub struct TransactionResponse {
59
60
impl TransactionResponse {
61
/// Whether the receipt/record status should be validated.
62
- pub fn valdiate_status(&mut self, validate: bool) -> &mut Self {
+ pub fn validate_status(&mut self, validate: bool) -> &mut Self {
63
self.validate_status = validate;
64
self
65
}
0 commit comments