mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-21 16:52:04 -07:00
Renaming 'origin' to 'ip'
This commit is contained in:
@@ -1980,7 +1980,7 @@ class Slp {
|
||||
const utxos = req.body.utxos
|
||||
|
||||
console.log(`req._remoteAddress: ${req._remoteAddress}`)
|
||||
const origin = req._remoteAddress
|
||||
const ip = req._remoteAddress
|
||||
|
||||
// Validate inputs
|
||||
if (!Array.isArray(utxos)) {
|
||||
@@ -2016,7 +2016,7 @@ class Slp {
|
||||
const theseUtxos = utxos[i].utxos
|
||||
|
||||
// Get SLP token details.
|
||||
const details = await _this.bchjs.SLP.Utils.tokenUtxoDetails(theseUtxos, origin)
|
||||
const details = await _this.bchjs.SLP.Utils.tokenUtxoDetails(theseUtxos, ip)
|
||||
// console.log('details: ', details)
|
||||
|
||||
// Replace the original UTXO data with the hydrated data.
|
||||
|
||||
Reference in New Issue
Block a user