Skip to content

Commit

Permalink
Remove unused comment
Browse files Browse the repository at this point in the history
  • Loading branch information
emersonmde committed Jun 16, 2024
1 parent 690ebbd commit cce4497
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion anchor-chain-macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ fn try_tool(registry_name: syn::Ident, input: ItemFn) -> Result<TokenStream> {
pub fn execute(params: Value) -> Value {
#(
let #param_names: #rust_types = serde_json::from_value(params[stringify!(#param_names)].clone()).unwrap();
// let #param_names: #rust_types = params[stringify!(#param_names)];
)*
let result = #fn_name(#(#param_names),*);
serde_json::to_value(result).unwrap()
Expand Down

0 comments on commit cce4497

Please sign in to comment.