The constant `TAPROOT_MAX_NODE_COUNT` should be replaced with rust-bitcoin `TAPROOT_CONTROL_MAX_NODE_COUNT`