Skip to content

added Address and Hash zero values#145

Merged
lmittmann merged 2 commits intomainfrom
zero
May 13, 2024
Merged

added Address and Hash zero values#145
lmittmann merged 2 commits intomainfrom
zero

Conversation

@lmittmann
Copy link
Copy Markdown
Owner

Added w3.Addr0 and w3.Hash0 for simple zero Address or Hash checks.

- if addr == (common.Address{}) {
+ if addr == w3.Addr0 {
    ...
}

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented May 13, 2024

Deploying w3 with  Cloudflare Pages  Cloudflare Pages

Latest commit: d8462c5
Status: ✅  Deploy successful!
Preview URL: https://b58ca2ed.w3-7ji.pages.dev
Branch Preview URL: https://zero.w3-7ji.pages.dev

View logs

@lmittmann lmittmann merged commit a587046 into main May 13, 2024
@lmittmann lmittmann deleted the zero branch May 13, 2024 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant