Skip to content

Commit

Permalink
fix: copy value in cv.map
Browse files Browse the repository at this point in the history
  • Loading branch information
r3v4s committed Sep 12, 2023
1 parent 207d66d commit d6c0876
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gnovm/pkg/gnolang/realm.go
Original file line number Diff line number Diff line change
Expand Up @@ -1349,6 +1349,7 @@ func fillTypesOfValue(store Store, val Value) Value {
for cur := cv.List.Head; cur != nil; cur = cur.Next {
fillTypesTV(store, &cur.Key)
fillTypesTV(store, &cur.Value)
cv.vmap[cur.Key.ComputeMapKey(store, false)] = cur
}
return cv
case TypeValue:
Expand Down

0 comments on commit d6c0876

Please sign in to comment.