Fix keybase adapter (#107)

This commit is contained in:
jaspervdm 2019-05-16 20:55:20 +02:00 committed by Yeastplume
parent e25c93161e
commit 94aee6f742

View file

@ -388,9 +388,7 @@ impl WalletCommAdapter for KeybaseWalletCommAdapter {
match res {
// Reply to the same channel with topic SLATE_SIGNED
Ok(s) => {
let slate =
serde_json::to_string(&s).map_err(|_| ErrorKind::SlateSer)?;
let success = send(slate, channel, SLATE_SIGNED, TTL);
let success = send(s, channel, SLATE_SIGNED, TTL);
if success {
notify_on_receive(