FIX: Use CC JSON label for wallet name

This commit is contained in:
marcosrdz 2020-12-09 15:44:46 -05:00 committed by Overtorment
parent 62561c3984
commit 025c46c308
2 changed files with 7 additions and 4 deletions

View File

@ -171,6 +171,9 @@ export class AbstractWallet {
// It is a ColdCard Hardware Wallet
masterFingerprint = Number(parsedSecret.keystore.ckcc_xfp);
}
if (parsedSecret.keystore.label) {
this.label = parsedSecret.keystore.label;
}
this.secret = parsedSecret.keystore.xpub;
this.masterFingerprint = masterFingerprint;
}

View File

@ -278,7 +278,7 @@ PODS:
- react-native-tcp-socket (3.7.1):
- CocoaAsyncSocket
- React
- react-native-webview (10.10.0):
- react-native-webview (11.0.0):
- React-Core
- react-native-widget-center (0.0.4):
- React
@ -359,7 +359,7 @@ PODS:
- React-Core
- RNDefaultPreference (1.4.3):
- React
- RNDeviceInfo (6.2.0):
- RNDeviceInfo (7.0.2):
- React-Core
- RNFS (2.16.6):
- React
@ -709,7 +709,7 @@ SPEC CHECKSUMS:
react-native-safe-area-context: 01158a92c300895d79dee447e980672dc3fb85a6
react-native-slider: b733e17fdd31186707146debf1f04b5d94aa1a93
react-native-tcp-socket: 96a4f104cdcc9c6621aafe92937f163d88447c5b
react-native-webview: 2e330b109bfd610e9818bf7865d1979f898960a7
react-native-webview: f0da708d7e471b60ebdbf861c114d2c5d7f7af2d
react-native-widget-center: 0f81d17beb163e7fb5848b06754d7d277fe7d99a
React-RCTActionSheet: 53ea72699698b0b47a6421cb1c8b4ab215a774aa
React-RCTAnimation: 1befece0b5183c22ae01b966f5583f42e69a83c2
@ -729,7 +729,7 @@ SPEC CHECKSUMS:
RNCMaskedView: f5c7d14d6847b7b44853f7acb6284c1da30a3459
RNCPushNotificationIOS: eaf01f848a0b872b194d31bcad94bb864299e01e
RNDefaultPreference: 21816c0a6f61a2829ccc0cef034392e9b509ee5f
RNDeviceInfo: 980848feea8d74412b16f2e3e8758c8294d63ca2
RNDeviceInfo: a37a15a98822c31c3982cb28eba6d336ba4d0968
RNFS: 2bd9eb49dc82fa9676382f0585b992c424cd59df
RNGestureHandler: 7a5833d0f788dbd107fbb913e09aa0c1ff333c39
RNHandoff: d3b0754cca3a6bcd9b25f544f733f7f033ccf5fa