Snapshot() doesn't return ID

The OpenZeppelin contract wizard generates a snapshot method but it doesn't return a snapshot ID but the method it calls, _snapshot(), does. Any specific design reasons this int isn't propagated back to the caller?

1 Like

Hi, welcome! :wave:

I think _snapshot is a internal function, so you can decide how to expose it externally.

1 Like