gn-provider 1.2.2 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gn-provider.js +1 -1
- package/package.json +1 -1
package/dist/gn-provider.js
CHANGED
|
@@ -189,7 +189,7 @@ class GNProvider extends abstract_provider_1.Provider {
|
|
|
189
189
|
txId: item.tx_hash,
|
|
190
190
|
outputIndex: item.tx_pos,
|
|
191
191
|
satoshis: item.value,
|
|
192
|
-
script: item.script, // ✅ CORRECTO - script real de la blockchain //
|
|
192
|
+
script: scryptlib.bsv.Script.buildPublicKeyHashOut(address).toHex(), //item.script, // ✅ CORRECTO - script real de la blockchain //
|
|
193
193
|
}));
|
|
194
194
|
return options ? (0, utils_1.filterUTXO)(utxos, options) : utxos;
|
|
195
195
|
}
|