cardano-docker/scripts/functions/check_pool_registration
2021-02-13 10:19:38 -05:00

6 lines
228 B
Plaintext

function check_pool_registration {
source /scripts/init_node_vars
POOL_ID=$(cat ${NODE_PATH}/staking/POOL_ID)
cardano-cli query ledger-state --allegra-era ${NETWORK_ARGUMENT} | grep publicKey | grep ${POOL_ID}
}