This example didn't have a recommended solution folder, and the code that was in secure looked like it was idiomatic Anchor code from what I could tell.
I moved all of the contents from there into the new recommended folder, and then came up with an example that checks whether the keys of the two accounts are the same manually in the program's logic.
This example didn't have a
recommended
solution folder, and the code that was insecure
looked like it was idiomatic Anchor code from what I could tell.I moved all of the contents from there into the new
recommended
folder, and then came up with an example that checks whether the keys of the two accounts are the same manually in the program's logic.