Unlock wallet bug fix

Unlock wallet bug fix
pull/163/head
ShahanaFarooqui 5 years ago
parent 1fa8e16559
commit 07fb0cd984

@ -8,5 +8,5 @@
<link rel="stylesheet" href="styles.83644e00292bcd08f710.css"></head> <link rel="stylesheet" href="styles.83644e00292bcd08f710.css"></head>
<body> <body>
<rtl-app></rtl-app> <rtl-app></rtl-app>
<script type="text/javascript" src="runtime.26209474bfa8dc87a77c.js"></script><script type="text/javascript" src="polyfills.d68e8f4f73dfaef206f1.js"></script><script type="text/javascript" src="main.ba18f3e86d5ac8e29f3a.js"></script></body> <script type="text/javascript" src="runtime.26209474bfa8dc87a77c.js"></script><script type="text/javascript" src="polyfills.d68e8f4f73dfaef206f1.js"></script><script type="text/javascript" src="main.f4d902137228a8df4f76.js"></script></body>
</html> </html>

File diff suppressed because one or more lines are too long

@ -80,10 +80,14 @@ exports.operateWallet = (req, res, next) => {
res.status(201).json('Successful'); res.status(201).json('Successful');
} }
}).catch(error => { }).catch(error => {
console.log(error.message); logger.info('\r\nWallet: 83: ' + JSON.stringify(Date.now()) + ': INFO: Wallet Response: ' + JSON.stringify(error.error));
res.status(500).json({ if((error.error.code === 1 && error.error.error === 'context canceled') || (error.error.code === 14 && error.error.error === 'transport is closing')) {
message: err_message, res.status(201).json('Successful');
error: error.message } else {
}); res.status(500).json({
message: err_message,
error: error.message
});
}
}); });
}; };

2
package-lock.json generated

@ -1,6 +1,6 @@
{ {
"name": "rtl", "name": "rtl",
"version": "0.4.0-beta", "version": "0.4.1-beta",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

@ -1,6 +1,6 @@
{ {
"name": "rtl", "name": "rtl",
"version": "0.4.0-beta", "version": "0.4.1-beta",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",

@ -37,7 +37,7 @@ export class UnlockLNDComponent implements OnInit, OnDestroy {
public insecureLND = false; public insecureLND = false;
public genSeedResponse = []; public genSeedResponse = [];
public initWalletResponse = ''; public initWalletResponse = '';
walletOperation = 'init'; walletOperation = 'unlock';
walletPassword = ''; walletPassword = '';
passwordFormGroup: FormGroup; passwordFormGroup: FormGroup;
cipherFormGroup: FormGroup; cipherFormGroup: FormGroup;
@ -147,7 +147,7 @@ export class UnlockLNDComponent implements OnInit, OnDestroy {
} }
resetData() { resetData() {
this.walletOperation = 'init'; this.walletOperation = 'unlock';
this.walletPassword = ''; this.walletPassword = '';
this.genSeedResponse = []; this.genSeedResponse = [];
this.initWalletResponse = ''; this.initWalletResponse = '';

@ -1 +1 @@
export const VERSION = '0.4.0-beta'; export const VERSION = '0.4.1-beta';
Loading…
Cancel
Save