Giveth / milestonetracker-ui

User Interface for the Milestone Tracker
GNU General Public License v3.0
8 stars 11 forks source link

select the correct account when sending tx #70

Closed rodney757 closed 7 years ago

rodney757 commented 7 years ago

the dapp currently defaults to the 1st account when working w/ milestone actions, but a user might have multiple accounts, where 1 account has the correct permissions for the choosen action.

with testrpc, you have access to 10 accounts on startup. The current env.js uses I think 8 of them. We just need to update the dapp to use the correct account depending on the action.

Ex. if the action is to accept the proposed milestones, then the dapp should select the "donor" account to send the tx if available, otherwise don't display the action

rodney757 commented 7 years ago

this is actually implemented. The issue was env.js sets a multisig donor, but the ui doesn't support multisig actions currently