- no need of using switch in entrypoint - directly set the network instead of chain Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
11 lines
168 B
Bash
11 lines
168 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
if [ $(echo "$1" | cut -c1) = "-" ]; then
|
|
echo "$0: assuming arguments for txood"
|
|
|
|
set -- txood --network $BITCOIN_NETWORK "$@"
|
|
fi
|
|
|
|
echo
|
|
exec "$@" |