Skip to content

Commit

Permalink
condition fix
Browse files Browse the repository at this point in the history
  • Loading branch information
owl352 committed Sep 20, 2024
1 parent 60db30b commit 4a854b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/services/dashd.js
Original file line number Diff line number Diff line change
Expand Up @@ -2253,8 +2253,8 @@ Dash.prototype.getDetailedTransaction = function(txid, callback) {
var address = null;
if (out.scriptPubKey && out.scriptPubKey.addresses && out.scriptPubKey.addresses.length === 1) {
address = out.scriptPubKey.addresses[0];
} else {
address = out.scriptPubKey.address ?? null;
} else if(out.scriptPubKey.address){
address = out.scriptPubKey.address;
}
tx.outputs.push({
satoshis: out.valueSat,
Expand Down

0 comments on commit 4a854b8

Please sign in to comment.