mirror of https://github.com/embarklabs/embark.git
Fix transaction logger
This commit is contained in:
parent
eb874f32ac
commit
926ed7c258
|
@ -54,8 +54,8 @@ const parseResponse = function(ipc, resBody){
|
|||
}
|
||||
|
||||
delete transactions[commList[receipts[jsonO.id]].transactionHash];
|
||||
delete commList[receipts[jsonO.id]];
|
||||
delete receipts[jsonO.id];
|
||||
delete commList[jsonO.id];
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -85,7 +85,9 @@ exports.serve = function(ipc, host, port, ws){
|
|||
|
||||
let server = http.createServer((req, res) => {
|
||||
let reqBody = [];
|
||||
req.on('data', (b) => { reqBody.push(b); })
|
||||
req.on('data', (b) => {
|
||||
reqBody.push(b);
|
||||
})
|
||||
.on('end', () => {
|
||||
reqBody = Buffer.concat(reqBody).toString();
|
||||
if (reqBody) {
|
||||
|
|
Loading…
Reference in New Issue