Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TX addresses field changed to address (deprecated) #107

Merged
merged 11 commits into from
Sep 26, 2024
2 changes: 2 additions & 0 deletions lib/services/dashd.js
Original file line number Diff line number Diff line change
Expand Up @@ -2253,6 +2253,8 @@ Dash.prototype.getDetailedTransaction = function(txid, callback) {
var address = null;
if (out.scriptPubKey && out.scriptPubKey.addresses && out.scriptPubKey.addresses.length === 1) {
pshenmic marked this conversation as resolved.
Show resolved Hide resolved
address = out.scriptPubKey.addresses[0];
} else {
address = out.scriptPubKey.address;
}
tx.outputs.push({
satoshis: out.valueSat,
Expand Down
Loading