From 0685e7506d39ac04325f918a45b0ac8a6c2dd3af Mon Sep 17 00:00:00 2001 From: Maciek Borzecki Date: Sat, 17 Jan 2015 16:04:10 +0100 Subject: [PATCH] device: update to DeviceChannel.send taking a Packet --- src/device.vala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/device.vala b/src/device.vala index e8f7f3e..4cb7244 100644 --- a/src/device.vala +++ b/src/device.vala @@ -96,7 +96,8 @@ class Device : Object { var core = Core.instance(); string pubkey = core.crypt.get_public_key_pem(); debug("public key: %s", pubkey); - _channel.send(Packet.new_pair(pubkey).to_string()); + + yield _channel.send(Packet.new_pair(pubkey)); } }