Lesson 2: SimpleStorage array question #86
-
Hi, is there a difference from doing this as in the lesson:
and just this?:
I can see the address in the first instance being required when we need to reference a contract that exists elsewhere, but in our case we already have a reference in our array, so can we just use that? Thanks for any help in understanding! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Probably you don't need the |
Beta Was this translation helpful? Give feedback.
-
Actually, he's right. They are exactly the same. I just wanted to be explicit. |
Beta Was this translation helpful? Give feedback.
Actually, he's right.
They are exactly the same. I just wanted to be explicit.