Skip to content

Commit

Permalink
Use StringStorageMapKey in check implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
darkdrag00nv2 committed May 26, 2023
1 parent 017b4bb commit 2757868
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion runtime/interpreter/interpreter.go
Original file line number Diff line number Diff line change
Expand Up @@ -4037,7 +4037,9 @@ func (interpreter *Interpreter) authAccountCheckFunction(addressValue AddressVal
domain := path.Domain.Identifier()
identifier := path.Identifier

value := interpreter.ReadStored(address, domain, identifier)
storageMapKey := StringStorageMapKey(identifier)

value := interpreter.ReadStored(address, domain, storageMapKey)

if value == nil {
return FalseValue
Expand Down

0 comments on commit 2757868

Please sign in to comment.