From 236637f0e038712e36c65ea0d11ac599645c637c Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Wed, 24 Feb 2021 15:12:40 -0800 Subject: [PATCH] Renaming 'origin' to 'ip' --- src/routes/v4/slp.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.