Created
October 3, 2016 14:20
-
-
Save madvas/0c30b07de29af5c71994c111d2917e15 to your computer and use it in GitHub Desktop.
re-frame :blockchain/unlock-account
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(reg-event-fx | |
:blockchain/unlock-account | |
interceptors | |
(fn [{:keys [db]} [address password]] | |
{:web3-fx.blockchain/fns | |
{:web3 (:web3 db) | |
:fns [[web3-personal/unlock-account address password 999999 | |
:blockchain/account-unlocked | |
:log-error]]}})) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment