OSDN Git Service

fixed the bug in restore wallet.
authorZhiting Lin <zlin035@uottawa.ca>
Fri, 16 Nov 2018 16:44:46 +0000 (00:44 +0800)
committerZhiting Lin <zlin035@uottawa.ca>
Fri, 16 Nov 2018 16:44:46 +0000 (00:44 +0800)
src/features/initialization/actions.js
src/features/shared/components/ConfirmMnemonic/ConfirmMnemonic.scss

index 803ba41..9c76511 100644 (file)
@@ -88,7 +88,7 @@ const restoreMnemonic = (data, success) => {
           throw resp
         }else{
           return chainClient().backUp.recovery({
-            xpub: resp.data.xpub
+            xpubs: [resp.data.xpub]
           })
             .then((resp) => {
               if (resp.status === 'fail') {
index 4c6abcc..382446c 100644 (file)
@@ -15,7 +15,9 @@
   width: 22%;
   height: 36px;
   margin: 5px 10px 5px 0;
-  text-align: center;
+  &, input{
+    text-align: center;
+  }
 }
 
 .seedArea{
@@ -27,3 +29,4 @@
 .container{
   width: 540px;
 }
+