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:
parent
f69f9ea74d
commit
bf57cb338b
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user