mirror of
https://github.com/status-im/status-react.git
synced 2025-01-09 10:42:53 +00:00
Update status-go and temporary fix for keycard
This commit is contained in:
parent
6830f98f95
commit
0fd2783774
@ -1307,7 +1307,8 @@ class StatusModule extends ReactContextBaseJavaModule implements LifecycleEventL
|
||||
@ReactMethod
|
||||
public void convertToKeycardAccount(final String keyUID, final String accountData, final String options, final String password, final String newPassword, final Callback callback) throws JSONException {
|
||||
final String keyStoreDir = this.getKeyStorePath(keyUID);
|
||||
executeRunnableStatusGoMethod(() -> Statusgo.convertToKeycardAccount(keyStoreDir, accountData, options, password, newPassword), callback);
|
||||
// Temporary fix for broken status-go compatibilty
|
||||
executeRunnableStatusGoMethod(() -> Statusgo.convertToKeycardAccount(accountData, options, password, newPassword), callback);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -694,7 +694,7 @@ RCT_EXPORT_METHOD(convertToKeycardAccount:(NSString *)keyUID
|
||||
NSLog(@"convertToKeycardAccount() method called");
|
||||
#endif
|
||||
NSURL *multiaccountKeystoreDir = [self getKeyStoreDir:keyUID];
|
||||
NSString *result = StatusgoConvertToKeycardAccount(multiaccountKeystoreDir.path, accountData, settings, currentPassword, newPassword);
|
||||
NSString *result = StatusgoConvertToKeycardAccount(accountData, settings, currentPassword, newPassword);
|
||||
callback(@[result]);
|
||||
}
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
"_comment": "Instead use: scripts/update-status-go.sh <rev>",
|
||||
"owner": "status-im",
|
||||
"repo": "status-go",
|
||||
"version": "feature/add-compressed-keys",
|
||||
"commit-sha1": "caf3cc04768959db95f1cc9fcd9b97fdd1db42ca",
|
||||
"src-sha256": "04d8mp2zngcr8sh62is6mhp22xfngw97bkzgykzbx98cy588lrh7"
|
||||
"version": "v0.125.4",
|
||||
"commit-sha1": "7e1a894ab824904f0c90acbc307955940ef17800",
|
||||
"src-sha256": "0sf33afgvmn4rj6ka7rxx3jnvpyjxcayv25jyiv1s9dkh581zy1i"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user