Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added Address and Hash zero values #145

Merged
merged 2 commits into from
May 13, 2024
Merged

added Address and Hash zero values #145

merged 2 commits into from
May 13, 2024

Conversation

lmittmann
Copy link
Owner

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

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

Copy link

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
5 checks passed
@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