Skip to content

Commit

Permalink
fix nonreentrant snippet - fixes #25
Browse files Browse the repository at this point in the history
  • Loading branch information
tintinweb committed Jul 21, 2022
1 parent 8a20a26 commit 9d2a090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snippets/vyper.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
},
"function nonreentrant declaration": {
"prefix": "funcnonreentrant",
"body": "@(nonreentrant\"${1:lock}\")\n@external\ndef ${2:name}(${3:_name}: ${4:type}):\n\t$0\n"
"body": "@nonreentrant(\"${1:lock}\")\n@external\ndef ${2:name}(${3:_name}: ${4:type}):\n\t$0\n"
},
"function external viewonly declaration": {
"prefix": "funcview",
Expand Down

0 comments on commit 9d2a090

Please sign in to comment.