fix values

This commit is contained in:
rootzoll
2022-05-17 19:03:35 +02:00
parent 627506276f
commit 59c6ea219d

View File

@@ -99,11 +99,11 @@ do
channelOutPubKey=${channelIdPubKeyLookup[$channelIdOut]} channelOutPubKey=${channelIdPubKeyLookup[$channelIdOut]}
channelInPubKeyLookup="" channelInPubKeyLookup=""
if [ "${channelInPubKey}" != "" ]; then if [ "${channelInPubKey}" != "" ]; then
channelInPubKeyLookup=pubKeyAliasLookup[$channelInPubKey] channelInPubKeyLookup=$pubKeyAliasLookup[$channelInPubKey]
fi fi
channelOutPubKeyLookup="" channelOutPubKeyLookup=""
if [ "${channelInPubKey}" != "" ]; then if [ "${channelInPubKey}" != "" ]; then
channelOutPubKeyLookup=pubKeyAliasLookup[$channelOutPubKey] channelOutPubKeyLookup=$pubKeyAliasLookup[$channelOutPubKey]
fi fi
OUTPUT="${OUTPUT} OUTPUT="${OUTPUT}
${eventDate},${channelInPubKeyLookup},${channelOutPubKeyLookup},$amountIn,$fee" ${eventDate},${channelInPubKeyLookup},${channelOutPubKeyLookup},$amountIn,$fee"