Skip to content

Commit

Permalink
Local constants are OK
Browse files Browse the repository at this point in the history
Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com>
  • Loading branch information
cthulhu-rider committed Feb 13, 2023
1 parent c7a4ac1 commit 77026aa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion alphabet/alphabet_contract.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ func _deploy(data interface{}, isUpdate bool) {
//
// switchToNotary removes value stored by 'notary' key.
func switchToNotary(ctx storage.Context, args []interface{}) {
// TODO: are local constants supported?
const notaryDisabledKey = "notary" // non-notary legacy
contractName := args[3].(string)

Expand Down

0 comments on commit 77026aa

Please sign in to comment.