INNER CODE UNIT · Java
check_node_version
WeBankBlockchain/WeIdentity · check-info.sh:246
function check_node_version() {
echo "----------------------------"
echo "7. FISCO BCOS Version"
echo "----------------------------"
isSdk=1
version_default=1.4
for file in $libDir/*
do
file=${file##*/}
if [[ $file == weid-java-sdk* ]];
then
isSdk=0
echo "your project includes the weid-java-sdk, this is: "$file
get_the_version $file
if [[ $(echo "${sdk_version} < ${version_default}" | bc) -eq 1 ]]
then
echo "WARN: the current version of SDK does not support to check the node version, minimum version 1.4.0"
else