Browse Source

device: update to DeviceChannel.send taking a Packet

bboozzoo/device-cache
Maciek Borzecki 10 years ago
parent
commit
0685e7506d
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/device.vala

+ 2
- 1
src/device.vala View File

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


Loading…
Cancel
Save