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)); } }