diff --git a/src/routes/v4/slp.js b/src/routes/v4/slp.js index b6316e4..b314d04 100644 --- a/src/routes/v4/slp.js +++ b/src/routes/v4/slp.js @@ -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.