docs: fixed a compilation error in the code snippet
Updated docs to align with the change "Separate contract invocation parameters to a new type."
@@ -78,8 +78,7 @@ impl Contract {
Transfer {
destination: params.sender,
amount: (params.amount + 1) / 2,
- func_name: vec![],
- func_params: vec![],
+ invocation: None,
}
.send_transaction();
