Fix typescript compile due to missing ignore null operator

This commit is contained in:
duriancrepe 2022-01-26 18:44:47 -08:00 committed by woodser
parent a27fa770ec
commit 6cc5228d7b

View File

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