Skip to content

Commit

Permalink
Don't keep withdraw tx body
Browse files Browse the repository at this point in the history
  • Loading branch information
yoss1x committed Mar 6, 2019
1 parent 9b9804c commit b7d9f70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/rpc.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ exports.parseRes = ({ HTTP, SSE }) => {
, invoice$: reply('invoice').map(r => ({ ...r.body, ...r.request.ctx }))
, outgoing$: reply('pay').map(r => ({ ...r.body, ...r.request.ctx }))
, newaddr$: reply('newaddr').map(r => ({ address: r.body.address, type: r.request.send.params[0] }))
, withdrawn$: reply('withdraw').map(r => ({tx: r.body.tx, txid: r.body.txid}))
, withdrawn$: reply('withdraw').map(r => ({ txid: r.body.txid }))
, funded$: reply('connectfund').map(r => r.body)
, closed$: reply('closeget').map(r => r.body)
, execRes$: reply('console').map(r => ({ ...r.request.send, res: r.body }))
Expand Down

0 comments on commit b7d9f70

Please sign in to comment.