mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2024-10-01 01:35:42 -04:00
Fix typescript compile due to missing ignore null operator
This commit is contained in:
parent
a27fa770ec
commit
6cc5228d7b
@ -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()!);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user