fix syntax

This commit is contained in:
rootzoll 2022-05-17 19:06:34 +02:00
parent 997317c393
commit 22a4219d21

View File

@ -97,11 +97,11 @@ do
do
channelInPubKey=${channelIdPubKeyLookup[$channelIdIn]}
channelOutPubKey=${channelIdPubKeyLookup[$channelIdOut]}
channelInPubKeyLookup="${$channelInPubKey}"
channelInPubKeyLookup="${channelInPubKey}"
if [ "${channelInPubKey}" != "" ]; then
channelInPubKeyLookup="${pubKeyAliasLookup[$channelInPubKey]}"
fi
channelOutPubKeyLookup="${$channelOutPubKey}"
channelOutPubKeyLookup="${channelOutPubKey}"
if [ "${channelInPubKey}" != "" ]; then
channelOutPubKeyLookup="${pubKeyAliasLookup[$channelOutPubKey]}"
fi