Skip to content

Commit

Permalink
fix(state channels): fix onChainTx event params (#566)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpowaga authored and nduchak committed Jul 26, 2019
1 parent 0d0e09b commit 11c85eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions es/channel/handlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export function awaitingOnChainTx (channel, message, state) {
) {
return { handler: awaitingOnChainTx }
}
emit(channel, 'onChainTx', message.params.data.signed_tx, {
emit(channel, 'onChainTx', message.params.data.tx, {
info: message.params.data.info,
type: message.params.data.type
})
Expand Down Expand Up @@ -174,7 +174,7 @@ export async function channelOpen (channel, message, state) {
}
break
case 'channels.on_chain_tx':
emit(channel, 'onChainTx', message.params.data.signed_tx, {
emit(channel, 'onChainTx', message.params.data.tx, {
info: message.params.data.info,
type: message.params.data.type
})
Expand Down

0 comments on commit 11c85eb

Please sign in to comment.