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>
<body>
<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>

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

2
package-lock.json generated

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

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

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

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