v2-core icon indicating copy to clipboard operation
v2-core copied to clipboard

Add zero address check for sender

Open smol-ninja opened this issue 6 months ago • 3 comments

There is no check if the sender is a zero address.

Anybody can accidentally set sender as zero address when creating the streams. Now because other functions such as cancel, renounce etc. are sender only, the stream creator would not be able to use them.

Thus, the task is to add zero address check for sender.

References

  • https://github.com/sablier-labs/flow/issues/198
  • https://github.com/sablier-labs/v2-core/discussions/38#discussioncomment-10210887

smol-ninja avatar Aug 01 '24 11:08 smol-ninja