Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Tx from should default to selectedAccount. #1

Open
danfinlay opened this issue Feb 10, 2017 · 2 comments
Open

Tx from should default to selectedAccount. #1

danfinlay opened this issue Feb 10, 2017 · 2 comments

Comments

@danfinlay
Copy link

Web3 defaults a tx with no from field to be the current selectedAddress, and this makes for some pretty obvious and clean web3.eth.sendTransaction calls.

I'd vote to loosen the enforcement of the from parameter to allow this to follow to the provider level.

@SilentCicero
Copy link
Member

I'll look into this design pattern, i think we can accommodate this fairly easily.

@danfinlay
Copy link
Author

danfinlay commented Feb 20, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants