From b8fac57ac05d4bc3e44099230cf09434d8a7f5e6 Mon Sep 17 00:00:00 2001 From: pm47 Date: Tue, 21 Feb 2017 11:39:33 +0100 Subject: [PATCH] fixed issue with state data in ChannelChangedState (stateData->nextStateData) --- .../src/main/scala/fr/acinq/eclair/channel/Channel.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclair-node/src/main/scala/fr/acinq/eclair/channel/Channel.scala b/eclair-node/src/main/scala/fr/acinq/eclair/channel/Channel.scala index aa4c27fd0..b1d838ad9 100644 --- a/eclair-node/src/main/scala/fr/acinq/eclair/channel/Channel.scala +++ b/eclair-node/src/main/scala/fr/acinq/eclair/channel/Channel.scala @@ -887,7 +887,7 @@ class Channel(val r: ActorRef, val blockchain: ActorRef, router: ActorRef, relay } onTransition { - case previousState -> currentState => context.system.eventStream.publish(ChannelChangedState(self, context.parent, remoteNodeId, previousState, currentState, stateData)) + case previousState -> currentState => context.system.eventStream.publish(ChannelChangedState(self, context.parent, remoteNodeId, previousState, currentState, nextStateData)) } /*