diff --git a/home.admin/config.scripts/lnd.fwdreport.sh b/home.admin/config.scripts/lnd.fwdreport.sh index e73197cf2..43bf94e55 100755 --- a/home.admin/config.scripts/lnd.fwdreport.sh +++ b/home.admin/config.scripts/lnd.fwdreport.sh @@ -99,11 +99,11 @@ do channelOutPubKey=${channelIdPubKeyLookup[$channelIdOut]} channelInPubKeyLookup="" if [ "${channelInPubKey}" != "" ]; then - channelInPubKeyLookup=pubKeyAliasLookup[$channelInPubKey] + channelInPubKeyLookup=$pubKeyAliasLookup[$channelInPubKey] fi channelOutPubKeyLookup="" if [ "${channelInPubKey}" != "" ]; then - channelOutPubKeyLookup=pubKeyAliasLookup[$channelOutPubKey] + channelOutPubKeyLookup=$pubKeyAliasLookup[$channelOutPubKey] fi OUTPUT="${OUTPUT} ${eventDate},${channelInPubKeyLookup},${channelOutPubKeyLookup},$amountIn,$fee"