1
0
mirror of https://github.com/ACINQ/eclair.git synced 2024-11-20 18:50:43 +01:00

use default receive method

This commit is contained in:
pm47 2016-11-08 14:33:06 +01:00
parent f69f9ea74d
commit bf57cb338b

View File

@ -30,9 +30,7 @@ class PeerClient extends Actor with ActorLogging {
))
context.actorOf(supervisor, name = "peer-supervisor")
override def receive: Actor.Receive = running
def running: Receive = {
override def receive: Actor.Receive = {
case Connected(remote, local) =>
val version = Version(
70002L,