diff --git a/src/HavenoDaemon.ts b/src/HavenoDaemon.ts index c1f1d5ba..9909d4a3 100644 --- a/src/HavenoDaemon.ts +++ b/src/HavenoDaemon.ts @@ -490,7 +490,7 @@ class HavenoDaemon { return new Promise(function(resolve, reject) { that._walletsClient.createXmrTx(new CreateXmrTxRequest().setDestinationsList(destinations), {password: that._password}, function(err: grpcWeb.RpcError, response: CreateXmrTxReply) { if (err) reject(err); - else resolve(response.getTx()); + else resolve(response.getTx()!); }); }); }