Skip to content

Fix moved signer value in "Getting started" example#166

Merged
zerosnacks merged 1 commit intoalloy-rs:mainfrom
kasparia:fix/moved-signer-value
Jan 21, 2026
Merged

Fix moved signer value in "Getting started" example#166
zerosnacks merged 1 commit intoalloy-rs:mainfrom
kasparia:fix/moved-signer-value

Conversation

@kasparia
Copy link
Copy Markdown
Contributor

Currently example in "Getting started" doesn't build as signer value is moved when provider is initialized before address is got from the signer. This fixes this by moving from_address below signer initialization so it's got before passing signer to the provider.

@kasparia kasparia requested a review from zerosnacks as a code owner January 20, 2026 20:49
@zerosnacks zerosnacks merged commit ec86e5a into alloy-rs:main Jan 21, 2026
2 checks passed
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.

2 participants