OSDN Git Service

fix #28: remove code that does nothing
authorfreewind <nowindlee@gmail.com>
Tue, 8 May 2018 14:38:51 +0000 (22:38 +0800)
committerfreewind <nowindlee@gmail.com>
Tue, 8 May 2018 14:39:01 +0000 (22:39 +0800)
src/features/core/actions.js

index 5cf1578..3dec40c 100644 (file)
@@ -61,7 +61,6 @@ const registerKey = (data) => {
           'quorum':1,
           'alias': data.accountAlias}
 
-        dispatch({type: 'CREATE_REGISTER_KEY', data})
         chainClient().accounts.create(accountData)
           .then((resp) => {
             if (resp.status === 'fail') {