From 6cc5228d7becbf7b6ffeddb5be82725f70e6bd74 Mon Sep 17 00:00:00 2001 From: duriancrepe Date: Wed, 26 Jan 2022 18:44:47 -0800 Subject: [PATCH] Fix typescript compile due to missing ignore null operator --- src/HavenoDaemon.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()!); }); }); }