cardano-docker/scripts/functions/check_pool_registration

6 lines
228 B
Plaintext
Raw Normal View History

2021-02-13 15:19:38 +00:00
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}
}