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.
@@ -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 //scryptlib.bsv.Script.buildPublicKeyHashOut(address).toHex(),
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gn-provider",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "files": [
5
5
  "dist",
6
6
  "scripts",