We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42577fc commit 9671a13Copy full SHA for 9671a13
lib/services/dashd.js
@@ -2250,7 +2250,7 @@ Dash.prototype.getDetailedTransaction = function(txid, callback) {
2250
for(var outputIndex = 0; outputIndex < result.vout.length; outputIndex++) {
2251
var out = result.vout[outputIndex];
2252
tx.outputSatoshis += out.valueSat;
2253
- var address = out.scriptPubKey.address;
+ var address = out.scriptPubKey.address ?? null;
2254
if (out.scriptPubKey && out.scriptPubKey.addresses && out.scriptPubKey.addresses.length === 1) {
2255
address = out.scriptPubKey.addresses[0];
2256
}
0 commit comments